YOU ARE RIGHT ! THANKS FOR THE TIP
NICOLAS
----------
From: Robert Hodges [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, February 24, 1999 4:37 PM
To: Nicolas Pujol
Cc: [EMAIL PROTECTED]
Subject: Re: GNUJSP cannot find jsp page
Hi! You might already have a fix from someone else, but I
believe that your problem is due to a missing Alias command
in your httpd.conf file. This is required to make files
visible at all. So you would probably need an Alias
like the following:
Alias /my_jsp_docs c:/web/servlets
You can then request your JSP page as follows:
http://<your server>/my_jsp_docs/first.jsp
The directives you gave in the original mail set up the linkage
for JServ to find servlets. They don't tell Apache where documents
are located.
Hope this helps. If you find out differently, please email me.
Robert Hodges
Tilden Park Software
p.s., You may also have to set the security properly on your
files to enable access. This is done with Directory or Location
directives.
Nicolas Pujol wrote:
>
> I am working with Apache 1.3.4 and Jserv 1.0b with GNUJSP 0.9.8.
and JDK
> 1.2. I keep getting this error:
>
> 500 JSP compile-time error
> The JSP page you requested could not be served because the
following
> error(s) occured:
> File C:\serv\first.jsp could not be found
>
> I am trying to run first.jsp in directory C:/web/servlets.
>
> This is my setup ( I have only included the relevant directives)
>
> ----httpd.conf
>
> ApJServMount /serv /test
> ApJServAction .jsp /serv/gnujsp
>
> ----jserv.properties
>
> zones=test
> test.properties=C:\Program Files\Apache Group\Apache
> JServ\conf\test.properties
>
> ----test.properties
>
> repositories=C:/web/servlets
> repositories=C:/Program Files/Apache
Group/gnujsp-0.9.8/lib/gnujsp.jar
> servlet.gnujsp.code=org.gjt.jsp.JSPServlet
> servlet.gnujsp.initArgs=repository=C:/web/servlets
>
> Why do I keep geeting this error ? I found a work around but it
gives me a
> lot of complication when I start to include beans in m JSP page.
Can you
> help ?
>
> Thanks
>
> Nicolas
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
> of the message "signoff JSP-INTEREST". For general help, send
email to
> [EMAIL PROTECTED] and include in the body of the message
"help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".