How can i access a servlet from another servlet which is part of another web application or servlet context....?
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
posted
0
Originally posted by Rajaguru Ramalingam: How can i access a servlet from another servlet which is part of another web application or servlet context....?
You can do it with JSTL in your JSP. Couldn't think of anyother.
Neither httpServletResponse.sendRedirect() works, nor these requestDispatcher.include() requestDispatcher.forward()
Originally posted by Rajaguru Ramalingam: How can i access a servlet from another servlet which is part of another web application or servlet context....?
You're still not asking a clear question. Maybe if you tell us what you're trying to do it would help.
-Ben
Craig Jackson
Ranch Hand
Joined: Mar 19, 2002
Posts: 405
posted
0
I am not sure if this is the answer to the question
How can i access a servlet which is in different servletcontext or webapplication? can anyone explain me the process?
But the method from the ServletContext interface will allow you to return the servletcontext from another web application.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.