aspose file tools*
The moose likes JSP and the fly likes to show data in textbox retrieved from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "to show data in textbox retrieved from database" Watch "to show data in textbox retrieved from database" New topic
Author

to show data in textbox retrieved from database

Ameya Bhagwat
Greenhorn

Joined: Aug 09, 2013
Posts: 5
hey guys i just retrived some data from databse into "suppot.jsp" now from this jspi want to take some data i.e organization_name and want to show in textbox of another sale_new.jsp with onclick function how??
.
.
.
.
.
.
you can see attached file now in this i want to transfer org_name to another jsp?
d v lokesh venkata
Greenhorn

Joined: Aug 09, 2013
Posts: 16

you can try using the session management or by using request parameters
Ameya Bhagwat
Greenhorn

Joined: Aug 09, 2013
Posts: 5
hey can you explain with some example???
Ashwini Kashyap
Ranch Hand

Joined: Aug 30, 2012
Posts: 90
If you want to make use of this value in next forwarding jsp only then you make use of request object like:

request.setAttribute("org_name",org_name);

But, if you want to use this value throughout the session, then make use of session object like:
session.setAttribute("org_name",org_name);

Thanks,
Ashwini Kashyap | www.infocepts.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to show data in textbox retrieved from database