File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Help with JSP Page " Watch "Help with JSP Page " New topic

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.
I agree. Here's the link:
subject: Help with JSP Page
It's not a secret anymore!