I am new to jsp.Iam creating a web page in jsp.I have created a page with dynamic textbox.I need help to display the textbox values in nextpage using jsp.
Kindly help me with detailed answers.
Thanks in advance for your immediate reply.
I came to this world on a Learner's License
Joined: Mar 18, 2011
Vinoth Thirunavukarasu wrote:In next page add the below piece of code.
Also you can do the same using cut tag.
thanks for your support.but as i new to jsp just help for the following
1.if i want to use request.getparameter than i have to use sessions or arrys for this.
2.if so please help me how to do this.
Again thanks lot for your kind support
Using Java scriptlets as suggested in these replies is a bad idea. Scriptlets have been discredited for almost 10 years now and their use on JSP pages is irresponsible at this point. It's like designing a modern TV using vacuum tubes!
Use the JSTL and EL in modern JSP pages.
For example, if you want to use the parameter value xyz on a page:
No Java code should ever be used on a JSP page that was written after 2002!