aspose file tools*
The moose likes JSP and the fly likes need help in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "need help in jsp" Watch "need help in jsp" New topic
Author

need help in jsp

vishnu raj
Greenhorn

Joined: Mar 18, 2011
Posts: 16
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

Joined: Dec 18, 2008
Posts: 164

In next page add the below piece of code.

Also you can do the same using cut tag.


Java Best Practices
Linux Best Practices
Amortization Calculator

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

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/


Regards, Atul.
I came to this world on a Learner's License
vishnu raj
Greenhorn

Joined: Mar 18, 2011
Posts: 16
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

Joined: Dec 18, 2008
Posts: 164

Session is different from request. I think in your case there is no need for session and array
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I'd recommend having a read through this.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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

Joined: Jan 10, 2002
Posts: 61199
    
  66

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!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help in jsp