File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servletcontext" Watch "Servletcontext" New topic


venkat ramana

Joined: Dec 15, 2005
Posts: 11

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: 8927

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.

I agree. Here's the link:
subject: Servletcontext
It's not a secret anymore!