How do I pass a variable from one form to the next in JSP
How do I pass one variable from one form to the next in JSP when it is NOT being passed in a form tag? There is no submit button
I know how to use the request.getParameter(variableName) and then do an
<input type = “hidden” name = “variableName”>
But this only works in a form tag. How else can I pass a variable?
with name/value pairs like:
<url to jsp>?name1=value1&name2=value2 (etc.)
If you do not want messy code. You can simply use session variables to pass some information from one page to other.
Thanks both of you. I got it to work with the name value pair in jsp.
By Arthur Wood in forum .NET
Last Post: 10-28-2002, 12:10 PM
By Al Guten in forum .NET
Last Post: 04-11-2002, 06:48 PM
By Tim Coulter in forum VB Classic
Last Post: 02-01-2001, 06:49 AM
By BrandonV in forum ASP.NET
Last Post: 11-16-2000, 09:16 PM
By mano in forum VB Classic
Last Post: 04-12-2000, 04:03 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center