tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois Andromaque <francois.androma...@sib.fr>
Subject Re: apache don't find my jsp files but works whith examples jsp files
Date Wed, 06 Jun 2001 08:30:01 GMT
i've nothing in the webapp directory, all the Beans, all the the html file
and all the the jsp file are in the directory /my_web_directory
if i try /jsp/requested.jsp or /web_directory_name/jsp/requested.jsp
the requested.jsp is not found.
----- Original Message -----
From: "Jim Cheesman" <jchees@msl.es>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, June 06, 2001 10:01 AM
Subject: Re: apache don't find my jsp files but works whith examples jsp
files


>
> > > Fran├žois Andromaque wrote:
> > >
> > > Hello
> > > I've developped a jsp WEB site, so i've my web site directory with the
> > > jsp directory which contains my jsp files, the html directory wich
> > > contains my html files and the WEB-INF directory which contains the
> > > JAVA-BEAN, it perfectly works with TOMCAT, but i can't access to my
> > > jsp files using apache server, even so i can access via apache to the
> > > tomcat jsp examples. What the way to do to make apache to find the jsp
> > > files.
> > >
> > > i'm getting the following
> > > Error: 404
> > > Location: /jsp/jsp_file.jsp
> > >
>
>
> One thing I've noticed when using apache and tomcat is that the paths are
> treated differently - from within tomcat /jsp will be within your webapp,
> while from apache it is not.
>
> (i.e.:
> /webapps/app/jsp - tomcat
> /webapps/jsp - apache
>
> Try adding the webapp name to the path.
>
> HTH,
> Jim
>
>
> --
>
>                            *   Jim Cheesman   *
>              Trabajo:
> jchees@msl.es - (34)(91) 724 9200 x 2360
>                  I am becoming
> increasingly worried that
>                   there isn't enough anxiety in
> my life.
>


Mime
View raw message