On Sun, Mar 29, 2009 at 4:34 PM, behofmann <behofm...@gmail.com> 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 ------------------------ hassan.schroe...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to