Changes between Version 1 and Version 2 of S2S_WEB_BOOK_MANAGEMENT_R0


Ignore:
Timestamp:
12/18/08 15:25:58 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S2S_WEB_BOOK_MANAGEMENT_R0

    v1 v2  
    3434 
    3535= Design = 
     36Create a "books.jsp" file, which lists all the persisted books on the server: 
     37 * Use the BookService class to retrieve a list with the books, and the Book class to iterate through the list, displaying each book in appropriate format. These two require importing the classes in the jsp (use <%@page import=".."%>). 
     38 * Keep in mind that the list can be very long. This means we have to display a certain number of books per page (for example 10), a link to the previous/next page. It will be best to be done using the GET method (this way copying/saving the URL will be easy). 
     39 * Access for non-logged users must be denied ( using response.sendRedirect(..); return;). 
     40Create "search_books.jsp" file: 
     41 * Make a simple search form (like [http://sophiebooks.org/s4bookstorage.html?view=search], for example), which posts the entered data to a servlet. The servlet outputs the result, using the BookManager class. 
     42  
     43 
     44 
    3645 
    3746= Implementation =