• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

HTTP Status 404 - /test/servlet/Login

kmthien

Senior member
Hi guys,

I have put my Login.class file in C:\Tomcat\webapps\test\WEB_INF\classes\ folder. I access this servlet file via ahtml page and got an error message:

type Status report
message /mark/servlet/Login
description The requested resource (/test/servlet/Login) is not available.

Pls help.....



 
This is the same problem as your other post. Your serlvets need to be in the servlet directory under the WEB-INF directory for that context
 
I read some article on the Internet saying that I need only put the class file in \WEB-INF\classes will do !! So how ?
 
Hi,

I put my Time.class in /webapps/ROOT/WEB_INF/classes/
folder.

I added the following to /webapps/ROOT/WEB-INF/web.xml

<servlet>
<servlet-name>
Time
</servlet-name>
<servlet-class>
Time
</servlet-class>

</servlet>

<servlet-mapping>
<servlet-name>
Time
</servlet-name>
<url-pattern>
/servlet/*
</url-pattern>
</servlet-mapping>

and enter http://127.0.0.1:8080/servlet/Time in IE6
but still not working...pls help ! Need your help desperately :<
 
Back
Top