This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 -file not found

 
Rabi Tumpa
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to run a simple servlet in WASD-6, and getting this error "404 -file not found" when I am trying to run on server.
Could anyone help please?

Thanks!
 
Paul Bourdeaux
Ranch Hand
Posts: 783
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to give us a little more information before we can help yo. For starters, post your web.xml and the url you are trying to hit.
 
Rabi Tumpa
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running on server not hitting any url. though it looks like "http://localhost:9080/...".

Below is web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
GolfProject</display-name>
<servlet>
<description>
</description>
<display-name>
GolfAVG</display-name>
<servlet-name>GolfAVG</servlet-name>
<servlet-class>
j2eebook.golf.controller.GolfAVG</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>GolfAVG</servlet-name>
<url-pattern>/GolfAVG</url-pattern>
</servlet-mapping>

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>

</welcome-file-list>

</web-app>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic