Hello,

is it possible to forward a request to a context in another host-section ?

for example from server.xml:
-------------------------------%<-----------------------
...
<Engine name="Catalina" defaultHost="www.host-a.com">
   <Host name="www.host-a.com">
       <Context path="/context-a1" />
   </Host>
   <Host name="www.host-b.com">
       <Context path="/context-b1" />
       <Context path="/context-b2" />
   </Host>
</Engine>
...
------------------------------->%-----------------------

To forward from context-b1 to context-b2 I can use a RequestDispatcher like this:

getServletContext().getRequestDispatcher("/context-b2").forward(request,response);

But what can I do to forward from context-b1 to context-a1 ?

Thanks in advance

Marco

---
http://www.kontaktlinsen-preisvergleich.de
http://www.faq-kontaktlinsen.de
http://www.parfuem-faq.de



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to