Login Application in Struts with Session Management
I created a login application using struts 1.3. After user authentication , i am display list of items i.e., fetched from database and kept it scope using request.setAttribute("items"); and display these items in JSP page. After closing the page, if i open the application, the list items are getting doubled (once again fetching from database and appending to the list, as it is scope).
I want to maintain the session management like once the user logout, clear all the items from the scope and show only the fetched items. Could anyone help me out!!!