Changes between Version 9 and Version 10 of S2S_WEB_BOOK_MANAGEMENT_R0
- Timestamp:
- 12/20/08 13:57:35 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S2S_WEB_BOOK_MANAGEMENT_R0
v9 v10 37 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(thumbnail,name,author,description, download button). These two require importing the classes in the jsp (use <%@page import=".."%>). 38 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 limited - they will not see the " delete" and "edit" buttons( using response.sendRedirect(..); return;).40 * If a particular book is uploaded by the current user, he/she will see Edit and Delete buttons. The funcionality of Edit will be implemented in another task.39 * Access for non-logged users must be limited - they will not see the "edit" button ( using response.sendRedirect(..); return;). 40 * If a particular book is uploaded by the current user, he/she will see Edit button. The funcionality of Edit will be implemented in another task. 41 41 Create "search_books.jsp" file: 42 42 * 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 !BookService class.