Last modified 14 years ago Last modified on 02/02/09 11:36:24

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=S2S_WEB_HOME_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block



We need a home page for our Sophie2 Server.

Task requirements

  • According to the available Sophie2 Server specification, the home page must contain:
    • Link to Download Sophie
    • Link to Sophie Support
    • Link to Browse Books (if possible, add five most recently added books)
    • First five entries from News Blog
  • The home page must be the default one, i.e. index.jsp
  • The current content of the page must be preserved, since it will be needed when making the user_profile page.
  • Download Sophie and Sophie Support are to be done in S2S_WEB_HELP_RESOURCES_R0. This means that this task must be done after the "help" one.
  • If S2S_WEB_SEARCH_R0 is implemented correctly, listing the latest books will be available and easy.
  • Currently, we do not have a news blog for our S2S, so only an empty area for the entries could be provided. If there is time, setting up a prototypical blog would be a good idea.
  • The home page should be the firt one, which is opened when a user accesses the server (the redirection to login.jsp must be removed).
  • The home page must be opened when "" is requested (the user should not be required to write "../index.jsp").

Task result

Refactored index.jsp page.

Implementation idea

Move the user info to my_sophie.jsp
For the last task requirement, you can write webAppContext.addServlet(Class.forName("jsp.jsps.index_jsp"), "/"); in the getContext() method of the ServerModule class.


How to demo

Access the server through your web browser - the home page must be displayed.



(Implementation results should be described and linked here (from the wiki or the repository))



(Write comments for this or later revisions here.)