Chuck,
I made some modifications to my relative paths and everything is now
working. Thanks again for your help.
Brandon
Caldarale, Charles R wrote:
>
>> From: behofmann [mailto:behofm...@gmail.com]
>> Subject: Re: Forwarding from one Context to another
>>
>>
> From: behofmann [mailto:behofm...@gmail.com]
> Subject: Re: Forwarding from one Context to another
>
> The complete path should be /dev/jsp/index.jsp. Correct?
I believe so.
> Unfortunately, I get a blank page in my browser and the page properties
> show /filter/jsp/inde
-
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Forwarding-from-one-Context-to-another-tp22767662p22775380.html
S
On Sun, Mar 29, 2009 at 5:52 PM, Caldarale, Charles R
wrote:
>> ServletContext appContext =
>> this.getServletConfig().getServletContext().getContext( "/dev" );
>
> You certainly don't need "this" in the above; nor is getServletConfig()
> necessary, if the code is in a class that extends HttpSer
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com]
> Subject: Re: Forwarding from one Context to another
>
> ServletContext appContext =
> this.getServletConfig().getServletContext().getContext( "/dev" );
You certainly don't need "this&quo
On Sun, Mar 29, 2009 at 4:34 PM, behofmann wrote:
>
> When trying to forward my .jsp to another in Tomcat 6.0.18 using
> the following code, I get the following error:
>
> ServletContext appContext = ServletContext.getContext( "/dev" );
Try:
ServletContext appContext =
this.getServletConfi
> From: behofmann [mailto:behofm...@gmail.com]
> Subject: Re: Forwarding from one Context to another
>
> When trying to forward my .jsp to another in Tomcat
> 6.0.18 using the following code, I get the following error:
>
> ServletContext appContext = ServletCont
nother? Is there some special method/code to accomplish
> this?
>
> Thanks,
>
> Brandon
>
--
View this message in context:
http://www.nabble.com/Forwarding-from-one-Context-to-another-tp22767662p22774166.html
Sent fr
--
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Forwarding-from-one-Context-to-another-tp22767662p22771112.html
Sent from the Tomcat - User
Brandon,
please reply to the list so that other ppl also benefit from this.
On Sun, Mar 29, 2009 at 3:22 PM, wrote:
>
> Thanks for the quick reply! After using the approach you mentioned, I would
> then use the RequestDispatcher to complete the forward to the new context.
> Correct?
>
Haven'
Brandon,
within the Context-definition of the COntext *from* where you want to
forward, you'll have to specify
Forwarding works like this:
ServletContext otherContext = servletContext.getContext("/othercontext");
// The context may be null if the application server does not permit
cross-cont
In Tomcat 6.0.18, isn't it possible to forward a request/response from one
to another? Is there some special method/code to accomplish this?
Thanks,
Brandon
--
View this message in context:
http://www.nabble.com/Forwarding-from-one-Context-to-another-tp22767662p22767662.html
Sent fro
12 matches
Mail list logo