File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes one servlet to another servlat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "one servlet to another servlat " Watch "one servlet to another servlat " New topic

one servlet to another servlat

pratapsiva sivakumar

Joined: Nov 10, 2008
Posts: 18
What are all the different possible ways of passing parameters from one servlet to another servlat or jsp?
Ankit Garg

Joined: Aug 03, 2008
Posts: 9326

If you are talking in context to request dispatcher, then you can set the values as attributes in request scope to pass them from servlet to servlet/jsp.

Read a tutorial like this or this for more information...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: one servlet to another servlat