This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servletcontext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servletcontext" Watch "Servletcontext" New topic
Author

Servletcontext

venkat ramana
Greenhorn

Joined: Dec 15, 2005
Posts: 11
Hi,

I want to get the resources or contact one servletcontext to another servlet context in the same jvm or another jvm. how can contact this?
If any one know about this plz explain me
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

You can get hold of ServletContext of a web application of another JVM. It is possible to talk to ServletContext of a web application running in the same server using getServletContext().getContext(ctx_name) provided the security setting permit such an operation.


Groovy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servletcontext
 
Similar Threads
How to pass Session object between two web apps
doubts in distributable environment
web application distributed
ServletContext question.
Doubt regarding ServletContext