Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:forward

 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If I'm submitting information into a page, and all the criteria match, I want to go to another page... how does a person properly use the <jsp:forward> command? TIA.
Kevin
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
like this:
<jsp:forward page="your url" >
<jsp aram name="just a paramater" value=name/>
</jsp:forward>
u specify the url and u can use the param attribute to pass parameters in the request.
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the above should ofcourse say this without the smiley:
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
grrrrr......
well u get what i mean.
 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yup... no worries
 
Sals Hamid
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:forward page="info.jsp" />
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic