This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing parameters from Servlet to JSP " Watch "Passing parameters from Servlet to JSP " New topic

Passing parameters from Servlet to JSP

krisy krisy

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

krishna chaitanya
Ben Souther

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

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

Joined: Feb 05, 2001
Posts: 17271

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

JavaRanch Naming Policy.

You can change it


Thanks! and welcome to the JavaRanch!


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Passing parameters from Servlet to JSP
It's not a secret anymore!