GeeCON Prague 2014*
The moose likes Servlets and the fly likes Passing parameters from Servlet to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing parameters from Servlet to JSP " Watch "Passing parameters from Servlet to JSP " New topic
Author

Passing parameters from Servlet to JSP

krisy krisy
Greenhorn

Joined: Apr 07, 2005
Posts: 4
Hi,
How to Pass the parameters from Servlet to JSP..

Regards
krishna chaitanya
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Bind the object to either request, session, or context scope, forward to the JSP and have the JSP look for the object in the proper scope.

If you want an example of this, get SimpleMVC from http://simple.souther.us


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"krisy krisy"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
GeeCON Prague 2014
 
subject: Passing parameters from Servlet to JSP