On Sun, Mar 29, 2009 at 4:34 PM, behofmann <[email protected]> wrote:
>
> When trying to forward my .jsp to another <Context> in Tomcat 6.0.18 using
> the following code, I get the following error:
>
>      ServletContext appContext = ServletContext.getContext( "/dev" );

Try:

ServletContext appContext =
this.getServletConfig().getServletContext().getContext( "/dev" );

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to