aspose file tools*
The moose likes JSP and the fly likes Help with JSP Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Help with JSP Page " Watch "Help with JSP Page " New topic
Author

Help with JSP Page

Maya sekar
Ranch Hand

Joined: Sep 22, 2011
Posts: 70
I have a jsp page. with three tabs.

when i click on one tab say add employee, it points to the page where employee details are added,
once i have added, the success page is displayed.
then when i click on another tab,
and once again click back to the employee tab,
instead of the add employee page being displayed i find that the success page is being displayed.
but i want the add employee page to be displayed. how do i fix this?
please assist.
thank you in advance.
Jack Numen
Ranch Hand

Joined: Nov 09, 2011
Posts: 42

When you are click the Tab your form is being submitted (OR) page is being reloaded in the same context.

Make sure you are not re-submitting your form when clicking on the tab.

This is just a logic error so once recheck your logic.
 
Don't get me started about those stupid light bulbs.
 
subject: Help with JSP Page