If it is running in the same cluster, you may still be able to use getServletContext().getContext("name of other context") to get a reference to the Servlet, but you may also need to enable this in security settings.... somewhere. (Sorry, I've done it, but I'm drawing a blank) I'm not sure it's ever worth the effort though, and it's easier to just include the servlet code in your application. Dave [ December 15, 2003: Message edited by: David O'Meara ]
Joined: Dec 14, 2003
If you want to access a servlet which is in a different sever,u could use sendRedirect() method...
Karan V Praba
Joined: Oct 31, 2002
Hi, I don't want to use redirect method since all my response has to go from my first servlet.