Announcement Announcement Module
Collapse
No announcement yet.
Search form and results in session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Search form and results in session

    Hi everyone,

    I have a web project (Spring 3.1 and spring mvc 3.1, jdk 1.6) which contains a search form as the main page.

    The Search form (search.jsp) is initialized in a SearchController.java and submitted in the same controller, the search is executed in 3 database and the results is displayed in 3 lists (one by database) in another jsp, "result.jsp".

    From this page, the user is able to go in an edit page or info page of one selected content from a list.

    So we can have this :

    search.jsp -> result.jsp -> edit.jsp
    |
    -> info.jsp

    My problem is to go back on the result.jsp with the previous search already executed when we click on a back button in the edit.jsp or info.jsp.

    How can i set a back button or the results lists in the session to display the last results ?

    The result.jsp is not associated with a controller, this is only the result page of the searchController..

    Thanks for your futures responses ! and happy new year
Working...
X