File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Want help for this situation in jsp 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 "Want help for this situation in jsp" Watch "Want help for this situation in jsp" New topic

Want help for this situation in jsp

Sudhir Pawar

Joined: Sep 27, 2012
Posts: 25
I have crated login.jsp page and addmision.jsp page and i want code for redirecting after click on submit(sucessful login) button in login.jsp page to addmision.jsp page please help me out from this.
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 297

Hi Sudhir,

Where you are facing difficulty ? try to implement something then we will help you.But you need to submit the form from jsp to servlet. In servlet you can write some logic then you can use sendredirect to redirect to jsp. dont forget to make entries in web.xml for your servlet.

You will find many example on internet for the same.

It is sorta covered in the JavaRanch Style Guide.
subject: Want help for this situation in jsp
It's not a secret anymore!