Bogdan,
This recommendation is just how you want your source code. For
deployment, you would need something more like:
jsp_xml\
FirstPage.jsp (could still be in jsp_xml\src, see note below)
docs\
WEB-INF\
web.xml
classes\
lib\
Your build.xml needs to set this deployment up to look like this based
on your source code.
If you continue to have FirstPage.jsp in the src directory under
jsp_xml, it would have to be referenced as:
http://localhost:8080/jsp_xml/src/FirstPage.jsp
And you would put any servlets that you create in WEB-INF\classes or
WEB-INF\lib (if they are in jar form)
If you were deploying with it exactly like you have outlined, then the
problem was probably that WEB-INF was not directly underneath jsp_xml as
it should be. And, this directory jsp_xml is in tomcat's webapps
directory, right?
Actually, it looks like the documentation suggested that you put
FirstPage.jsp in web\, not in src\ (which is where java source code
should go, not JSP / HTML / CSS / images) Maybe that was your problem,
and FirstPage.jsp was not ending up in the document root - jsp_xml\
- Jeff Tulley ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com
(Polski nie z krwi, lecz z serca)
>>> [EMAIL PROTECTED] 10/20/03 4:12:11 AM >>>
Sorry for sending unfinished email
(I don't like Microsoft software - too many shortcuts...).
Thank you very much, that was exactly this problem.
After adding "manager" role for tomcat user
my application is succesfully installed
and running on Tomcat server. I have another
"dummy" question: where should I put
my FirstPage.jsp file? My application context name
is /jsp_xml/ (Tomcat manager shows this name
on the list of running applications). When I refer
to http:\\localhost:8080\jsp_xml\ (in web browser)
I see an empty directory. When I refer to
http:\\localhost:8080\jsp_xml\FirstPage.jsp server
Tomcat raises 404 status that requested resource
is not available. I've got in my home
directory recommended by Tomcat documentation
structure:
jsp_xml\
src\ FistPage.jsp
docs\
web\
WEB-INF\web.xml
build.xml
build.properties
Bogdan Brzozowski
Soft. Dept. Manager
--------------------------------
NOVUM Ltd.
Spokojna 9A
18-400 Lomza
POLAND
----------------------------------------
phone: +48 604 52 72 50
email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]