This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet to servlet" Watch "servlet to servlet" New topic
Author

servlet to servlet

HASIKA NANAYAKKARA
Greenhorn

Joined: Jun 03, 2001
Posts: 6
I AM A DEBUTAN TO THE JAVA WORLD.LET ME KNOW HOW TO CALL A SERVLET FROM ANOTHER SERVLET(REDIRECT).CAN'T I USE THE "REQUEST.GETREQUESTDISPATCHER(...... " METHOD.I DON'T WANT TO GENERATE A HTML PAGE BY THE SERVLET.I JUST WANT TO CALL ANOTHER SERVLET.PLEASE I WANT IT QUICKLY,AND MAKE IT AS SIMPLE AS POSSIBLE.THANKS ALOT.
SAK2H
[This message has been edited by HASIKA NANAYAKKARA (edited June 03, 2001).]
[This message has been edited by HASIKA NANAYAKKARA (edited June 03, 2001).]
S Chandra Mohan
Ranch Hand

Joined: Oct 19, 2000
Posts: 75
Hai Hasika,
U can redirect the request by using the following URL
response.sendRedirect("Your Second servlet");
If u want more, Let me know about it.
All The Best

------------------

Have a wonderful day and wish u success<p>S Chandra Mohan<br />sc_mohan_us@yahoo.com
 
 
subject: servlet to servlet