because you are within the context of the web application "WebPayroll", so
that path is prepended.
As long as you are using the current context, you can remove WebPayroll from
your URLs.

- Brett

-----Original Message-----
From: Slava [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 November 2001 3:04 PM
To: [EMAIL PROTECTED]
Subject: JSP URL and Tomcat3.2.3


Hello,
I'm passing Request Attributes from servlet to jsp
and I'm getting 404.
The request URL : "/WebPayroll/company_entry.jsp".
But Tomcat adding extra path to URL.
Here is the part of tomcat.log:

2001-11-26 21:55:26 - Ctx( /WebPayroll ): 404 R( /WebPayroll +
/WebPayroll/company_entry.jsp +
                      null) JSP file not found.


And here is the jasper.log :

2001-11-26 21:55:26 - JspEngine --> /WebPayroll/company_entry.jsp
2001-11-26 21:55:26 - ServletPath: /WebPayroll/company_entry.jsp
2001-11-26 21:55:26 - PathInfo: null
2001-11-26 21:55:26 - RealPath:
D:\jakarta-tomcat-3.2.3\WebPayroll\WebPayroll\company_entry.jsp
2001-11-26 21:55:26 - RequestURI: /WebPayroll/WebPayroll/company_entry.jsp
2001-11-26 21:55:26 - QueryString: null
2001-11-26 21:55:26 - Request Params: 
2001-11-26 21:55:26 - Classpath according to the Servlet Engine is:
D:\jakarta-tomcat-3.2.3 
                      \webapps\WebPayroll\WEB-INF\classes

As result the URL become incorrect.
Please tell me how to fix it.
Thanks.




__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to