Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use queryString in JSP  RSS feed

 
Pranoj Ashtamkar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to send contents of one jsp page to next page for editing.
Then in next page i want to edit those records and save them.
How to go???
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15860
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is not about SCJP, so it doesn't belong in the SCJP forum. I'm moving it to a more appropriate forum.
 
Justin Russo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just use the ?name=value&name1=value1 pair to the form URL(link to the second Jsp page) in the first Jsp page.

OR

use the Post method.

in the Second Jsp page just use the getParameter(<parameter Name>)

to get the values...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!