File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Getting reference to a Servlet Context of a Servlet that's on a different server?
Joined: Nov 10, 2007
Apr 07, 2012 23:04:22
Is it possible to use this method
uripath) to get a reference to a Web Application Context deployed on a different server? Can the String uriPath accept an HTTP path to a
as opposed to an absolute path ?
Joined: Sep 21, 2011
Apr 07, 2012 23:11:49
Joined: Jul 11, 2010
Apr 08, 2012 09:30:39
This can be used to get
of other web application in the same Servlet Container but not the different
in different server.
SCJP 6 [SCJP - Old is Gold]
I agree. Here's the link:
subject: Getting reference to a Servlet Context of a Servlet that's on a different server?
How can a RequestDispatcher call a servlet in another web application?
communicating between two web application
ServletContext's getContext() method
RequestDispatcher in servletcontext
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014