Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

need help in jsp

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In next page add the below piece of code.

Also you can do the same using c:out tag.

 
Ranch Hand
Posts: 119
Oracle Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Vinoth Thirunavukarasu wrote:In next page add the below piece of code.

Also you can do the same using c:out 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
 
Vt Guru
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Session is different from request. I think in your case there is no need for session and array
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd recommend having a read through this.
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic