You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Burke <mb...@bestweb.net> on 2002/02/02 13:39:25 UTC

Re: JSP problem

Randy Layman wrote:

>         I assume when you mean access your jsp page through a servlet you
> mean you are calling the RequestDispather's forward method.  This method
> takes paths relative to the root of your webapp.  If your webapp is called
> cdtest, then you would want to forward to just "/menu.jsp"
>
>         Randy
>
> > -----Original Message-----
> > From: Michael Burke [mailto:mburke@bestweb.net]
> > Sent: Wednesday, January 30, 2002 10:06 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: JSP problem
> >
> >
> > I'm using the build.xml file and ant to deploy my app in tomcat4. The
> > app is deployed successfully but when I try to access my jsp page
> > through a servlet I get a "/cdtest/menu.jsp is not available" error.
> > Menu.jsp is in the cdtest directory (my apps root directory) under the
> > webapps directory. I own all the directories of my webapp and
> > the files
> > are executable so I don't think that's the problem.. Tomcat's log
> > doesn't give an error message so that's not helping. Any suggestions
> > would be appreciated.
> >
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

Thanks for the reply Randy, yes that was the problem. That was the next area
I was going to check. Thanks again.


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>