aspose file tools*
The moose likes Servlets and the fly likes Passing control from one application to another. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing control from one application to another." Watch "Passing control from one application to another." New topic
Author

Passing control from one application to another.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 408

Hi All,

Can I supply control from one application to another application using servlets? For example: I have a application A on one server and another application B on another server. Now can I pass control to application B from Application A?


Pawan Chopra
SCJP - DuMmIeS mInD
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Yes


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 408

Ben Souther wrote:Yes


Thanks and I am sorry that I did not ask how?
d edgar
Greenhorn

Joined: Apr 09, 2010
Posts: 4
I think what you want is a redirect.

When your App A is done, use HttpServletResponse.sendRedirect(site) to ship off the request.

Good luck.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Passing control from one application to another.
 
Similar Threads
Urgently reqd.. Security of web applications
controlling the jboss instance which serves the incoming request on Apache
Transferring control from java web service to .net application
help needed
Child window accessing parent window error