This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes passing value from servlet to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "passing value from servlet to jsp" Watch "passing value from servlet to jsp" New topic
Author

passing value from servlet to jsp

Suka Hati
Ranch Hand

Joined: Oct 28, 2004
Posts: 56
hi.....how i want to pass a value in servlet to jsp???
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Hi Suka Hati,
You can place your value into session or request attributes.
Example in servlet...



Example in jsp...


Correct me if I am wrong...
Hope this help

thanks
daniel
Suneesh Raman
Ranch Hand

Joined: Jun 13, 2002
Posts: 42
You can passs the value through the URL
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing value from servlet to jsp
 
Similar Threads
session value from jsp -> Servlet / Servlet -> jsp
Scriptlets -> Time and Space Complexity
Do you have elegant way of nullpointer exceptions
difference
attributes and listener hfsj question 10