File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
Consider Paul's rocket mass heater.
 
subject: servlet to servlet
 
Similar Threads
Study Buddies for OOADw/UML Test
servlets - decoding string
I WANT FALL IN LOVE
Intelligent client browser!!!
main method problem