• Post Reply Bookmark Topic Watch Topic
  • New Topic

Navigation in JSP's

 
Pradeep Chauhan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a little question. Can anybody help me ??
I have a link in my current jsp, AAA.jsp which takes me to BBB.jsp. I have to create another link in same AAA.jsp which will take me to the same jsp that is BBB.jsp But.. I have to have something (some string value) in destination jsp so that based upon that string value I can perform some if else operations for rendering.
I know it can be done by using adding key=value in the url in anchor tag but if I'm using POST then How will I handle it.
Pradeep
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When posting a form, you can use hidden fields (using <input type="hidden" ... > to pass as much extra data as you would like.
hth,
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!