tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hansen Wang <han...@lucent.com>
Subject Re: jsp
Date Wed, 31 May 2000 21:14:39 GMT
It is used by all request being forwarded to tomcat that can not
find a matching context. When this happens, tomcat presume
that the path is empty, so that it match the ROOT context.

--
Hansen Wang

- wrote:

> Hi,
> In my apache config I have this setup
>
> ApJServManual on
> ApJServSecretKey DISABLED
> ApJServMountCopy on
> ApJServLogLevel notice
> ApJServDefaultProtocol ajpv12
> ApJServDefaultHost localhost
> ApJServDefaultPort 8007
> ApJServMount default /root
> AddType text/jsp .jsp
> AddHandler jserv-servlet .jsp
>
> Now my apache document root is in
> /home/docroot
>
> I call http://my.server.com/one.jsp
>
> and I get this error:
>
> Error: 404
> Location: /one.jsp
> JSP file "/usr/local/apache/tomcat/webapps/ROOT/one.jsp (No such file or directory)"
not found
>
> What exactly is the webapps/ROOT application? Is this the default one tomcat
> uses for all JSP requests that are not in a specified context but just
> forwarded from apache?
>
> thanks!
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message