how do I invoke servlet from a servlet in different web application?

2002-10-25 Thread Jason Novotny

Hi,

   I would like to know how I can invoke a servlet in one web 
application from a servlet in another web application? Also, how would I 
do this if the other servlet is hosted in another servlet container on 
another machine?

   My goal is to provide a web application framework that other web 
applications can plug into, so that I can re-deploy the secondary web 
application while still running my main framework servlet. What are the 
potential security/performance issues associated with this?

   Finally, I see that server.xml has an option to allow for the 
reloading of web applications whose servlet classes/JSP's have changed. 
However this may be to resource consumptive on a production server-- is 
there any way I can send an admin command to reload servlets whose 
timestamp has changed (push rather than pull model)?

   Thanks for the help, Jason



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: how do I invoke servlet from a servlet in different web application?

2002-10-25 Thread Anthony Geoghegan
You could try a client-side redirect.

response.sendRedirect(..URL..);

Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
- Original Message -
From: Jason Novotny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 10:05 AM
Subject: how do I invoke servlet from a servlet in different web
application?



 Hi,

 I would like to know how I can invoke a servlet in one web
 application from a servlet in another web application? Also, how would I
 do this if the other servlet is hosted in another servlet container on
 another machine?

 My goal is to provide a web application framework that other web
 applications can plug into, so that I can re-deploy the secondary web
 application while still running my main framework servlet. What are the
 potential security/performance issues associated with this?

 Finally, I see that server.xml has an option to allow for the
 reloading of web applications whose servlet classes/JSP's have changed.
 However this may be to resource consumptive on a production server-- is
 there any way I can send an admin command to reload servlets whose
 timestamp has changed (push rather than pull model)?

 Thanks for the help, Jason



 --
 To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org