• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help in jsp

 
vishnu raj
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Friends
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.
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In next page add the below piece of code.

Also you can do the same using cut tag.

 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi vishnu raj

take care when you use the getParamenter attribute , it should match the text box name in the previous page.

Posting a link for the JSP toutorials check these they are good.

http://www.roseindia.net/jsp/
 
vishnu raj
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vinoth Thirunavukarasu wrote:In next page add the below piece of code.

Also you can do the same using cut tag.


Hai vinoth
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
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session is different from request. I think in your case there is no need for session and array
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend having a read through this.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Atul Darne wrote:hi vishnu raj

take care when you use the getParamenter attribute , it should match the text box name in the previous page.

Posting a link for the JSP toutorials check these they are good.

http://www.roseindia.net/jsp/


I would approach the roseindia tutorials with caution. They often include mistakes that can confuse a beginner.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic