You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ming Zhou <mZ...@ecustomers.com> on 2002/01/10 02:00:19 UTC
Can't serve JSP
After installing a webapp on Tomcat, I've found that the
http://localhost:8080/mywebapp/ URL returns a directory listing of the
mywebapp directory, and the JSP pages within that webapp are not available
either in the listing or at http://localhost:8080/mywebapp/logon.jsp .
Is there anything special that I have to configure in my web.xml file? The
same web.xml works for Weblogic.
Besides installing the war file, I also added a new <context> for the
mywebapp in server.xml to enable dynamic class reloading.
Thanks.
-ming,
Re: Can't serve JSP
Posted by Susan Baker <sb...@geodynamic.com>.
Are you using 4.0? In your conf/web.xml you have to use a welcome tag and
indicate the starting page. I'm not at the office and don't remember the
syntax off the top of my head, but if you look at the web.xml in the conf
directory that installs with Tomcat you'll find an example.
:) Susan
----- Original Message -----
From: "Ming Zhou" <mZ...@ecustomers.com>
To: "'Tomcat Users List' (E-mail)" <to...@jakarta.apache.org>
Sent: Wednesday, January 09, 2002 7:00 PM
Subject: Can't serve JSP
After installing a webapp on Tomcat, I've found that the
http://localhost:8080/mywebapp/ URL returns a directory listing of the
mywebapp directory, and the JSP pages within that webapp are not available
either in the listing or at http://localhost:8080/mywebapp/logon.jsp .
Is there anything special that I have to configure in my web.xml file? The
same web.xml works for Weblogic.
Besides installing the war file, I also added a new <context> for the
mywebapp in server.xml to enable dynamic class reloading.
Thanks.
-ming,
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>