aspose file tools
The moose likes JSP and the fly likes one jsp to another Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "one jsp to another" Watch "one jsp to another" New topic
Author

one jsp to another

pratapsiva sivakumar
Greenhorn

Joined: Nov 10, 2008
Posts: 18
What are the different ways of passing from one jsp page to another jsp page?Please help with examples.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3670

pratapsiva sivakumar wrote:What are the different ways of passing from one jsp page to another jsp page?Please help with examples.

What's your requirement? Do you want to pass some parameters or pass the request to a jsp or ... ?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
pratapsiva sivakumar
Greenhorn

Joined: Nov 10, 2008
Posts: 18
What are the different ways of passing from one jsp page to another jsp page?Please help with examples.i want to pass either request of parameter.please help
chun wang
Greenhorn

Joined: Oct 31, 2008
Posts: 1
<form action="test.jsp">

try it again
<input type="submit" name="submit" value="submit"/>
</form>
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874

chun wang wrote:<form action="test.jsp">

try it again
<input type="submit" name="submit" value="submit"/>
</form>



Add a form element (text box) say "textBoxName" as text box name and submit to test.jsp. This passes the text box value as request parameter to submitted JSP. In test.jsp use EL ${param.textBoxName} to get the text box value.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: one jsp to another
 
Similar Threads
Navigate from one mxml to another mxml
how to send parameters in jsp pages.
JSP
how to send cookie from one jsp page to another jsp page or to servlet
passing parameters