Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want help for this situation in jsp

 
Sudhir Pawar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 299
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Jatan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic