Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error 404 when accessing to servlet

843840Dec 9 2002 — edited Dec 11 2002
This is the error I get when I try to access to a servlet I uploaded in a server

Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
========================================================================

These are the entries I have in the web.xml file

<servlet>
<servlet-name>GanttChart</servlet-name>
<servlet-class>gst.gtse.times.GanttChart</servlet-class>
</servlet>

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

These are the paths of where my application is located

The servlet is located in

\\WEB-INF\classes\gst\gtse\times

package is defiened in the source file as package gst.gtse.times

The application is located in

\\gst\gtse\times

What am I doing wrong?, any ideas?, thanks in advance.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2003
Added on Dec 9 2002
10 comments
1,854 views