users@glassfish.java.net

Re: Servlets/JSPs and crossContext?

From: <Jan.Luehe_at_Sun.COM>
Date: Tue, 01 Apr 2008 09:52:03 -0700

There is an equivalent property in GlassFish, called "crossContextAllowed",
which needs to be specified in your web-app's sun-web.xml, as follows:

  <sun-web-app>
    <property name="crossContextAllowed" value="[true|false]"/>
  </sun-web-app>

Default is true.


Jan


Kristian Rink wrote:

>Folks;
>
>in tomcat, so far I made heavy use of the "crossContext='true'"
>configuration option to allow for servlet-sided forward()s between
>different application contexts. How to do the same in glassfish? Is
>this possible, and if so, how to achieve it?
>
>TIA and best regards,
>Kristian
>
>
>