Pass data

how can pass data other jsp page without save
[52 byte] By [devellopa] at [2007-11-26 21:24:24]
# 1
Hi devellop ..Can you be little bit clear...
Chellama at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
assume thatwrite data in Textbox first Jsp and press button for another action for example add samething end of this action last press register button and insert all data in database
devellopa at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

You don't want to save the info on the session?

Keep it on the JSP in <input type="hidden" name="hiddenField" value="yourInfoHere">

Everytime the user submits the form containing the hidden fields the info will be sent along to the servlet and when it goes on to the next JSP you can get it again with <%=request.getParameter("hiddenField")%>

benubacha at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
can you send a little example pls..
devellopa at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Not now, sorry. I'm too tired ;-) But try to do it and after I get some sleep I'll help you solve the problems you may find :-)
benubacha at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
ok waiting you :-)
devellopa at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
Nope, don't wait for me. Do it by yourself and by the time I come back ask the things YOU couldn't do ;-)
benubacha at 2007-7-10 3:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...