A
After
I have two different context in Tomcat 5. I use Tomcat to develop JSP
pages
Is it possible inside a servlet in a <Context> to call a different
servlet in another <Context>?? .. run the servlet in the second
<context> and get back data (i.e in the request) ?
for example:
one context is :
\webapps\application1 (here resides serveltContext1.java)
the second context is :
\webapps\application2 (here resides serveltContext2.java)
i would like to do something like this:
serveltContext1 {
call to serveltContext2
running of serveltContext2 {
// do something
}
get data from serveltContext2 (i.e. stored in the request)
}
Thanks in advance
Roby
pages
Is it possible inside a servlet in a <Context> to call a different
servlet in another <Context>?? .. run the servlet in the second
<context> and get back data (i.e in the request) ?
for example:
one context is :
\webapps\application1 (here resides serveltContext1.java)
the second context is :
\webapps\application2 (here resides serveltContext2.java)
i would like to do something like this:
serveltContext1 {
call to serveltContext2
running of serveltContext2 {
// do something
}
get data from serveltContext2 (i.e. stored in the request)
}
Thanks in advance
Roby