tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From - <...@webcapacity.com>
Subject Re: jsp
Date Wed, 31 May 2000 21:55:07 GMT
thanks,
ok what if I want 2 have 2 virtuals. both with JSP files in their normal apache
document roots. However I want each virtual to make sure that the*.jsp files
execute in a certain Tomcat context/instance etc. The JSP files do not reside
in a tomcat webapp. How do I set this up?

thanks
-aaz


On Wed, 31 May 2000, you wrote:
> 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
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message