Tomcat acting different between Linux and Windows-XP
From: JAVA Rookie (theRookie_at_yahoo.com)
Date: 12/31/03
- Next message: Andrew Thompson: "Re: Thanks!"
- Previous message: Brian Agnew: "ANN: xmltask 1.9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 11:53:58 -0700
Hi, all:
I have a sample servlet in Windows-XP and Linux, below is the modified section
in web.xml:
<servlet>
<servlet-name>
hi
</servlet-name>
<servlet-class>
<servlet-mapping>
<servlet-name>
hi
</servlet-name>
<url-pattern>
/hello.html
</url-pattern>
</servlet-mapping>
When I typed http://localhost:8080/hello.html in Windows-XP, I can got correct
page, but HTTP Status 404 - /hello.html under Linux? They do have same web.xml
and same configuration.
So what I need to do in Linux to make servlets working? And should I need to use
JSP instead of servlet? because I am learning servlet now and soon will be JSP.
Thanks in advance.
- Next message: Andrew Thompson: "Re: Thanks!"
- Previous message: Brian Agnew: "ANN: xmltask 1.9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|