A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
Sevlet Request Dispatcher
Joined: Mar 23, 2005
Mar 23, 2005 02:19:00
Is it possible to dispatch a request from one
(which is in one application ) to another servlet which is in another application?
Possible means kindly give the steps.
Joined: Mar 05, 2005
Mar 23, 2005 03:45:00
Yes. You specify the absolute URL for the other servlet in your request dispatcher.
Joined: Dec 17, 2003
Mar 23, 2005 03:46:00
Joined: Dec 11, 2004
Mar 23, 2005 04:14:00
You can use sendRedirect.
This, of course, won't carry the session and request data with it.
How to ask a question...
Simple Servlet Examples
It is sorta covered in the
JavaRanch Style Guide
subject: Sevlet Request Dispatcher
Forwarding requests between servlets
Best Way to handle the table update(Concurrency)
Part 2 design question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014