I have two webapps which I would like to pass information between.

Alessandro A. Garbagnati

Some servlet containers (Tomcat is one of these) do allow passing information between two different web applications that are running under the same JVM.
If the two contexts are defined with the "crossContext" attribute set to true, you should be able to forward or include through a RequestDispatcher object (that you acquire using getServletContext().getRequestDispatcher()) from one servlet/JSP of one application to a servlet/JSP of the other webapp.

You cannot share the session though, but I think you can find a way to pass whatever you need from one page to the other.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact