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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Parameter passing between servlets" Watch "Parameter passing between servlets" New topic

Parameter passing between servlets

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am using a servlet that is needs to call another servlet. I can't just use a java class because the called servlet will be using the response writer directly. I am using a dispatcher object to run the called servlet. Before I do this i want to add a parameter to the request object. Is there any way to do this? Should i just add these on to the url of the request dispathcer object? Any help in this matter would be greatly appreciated.
jQuery in Action, 3rd edition
subject: Parameter passing between servlets
jQuery in Action, 3rd edition