Skip to main content
gamedev.net
🔒 Locked

[java] JSP + Servlet problem

Started by The_Neverending_Loop 0 replies 800+ views
Original Post
The_Neverending_Loop
The_Neverending_Loop
Hey Iam trying to write this servlet and running my code using tomcat, basically the problem is everytime I try to run the webpage it tells me the class file isnt found, I have the class in the directory Iam suppose to have it in, but it keeps telling me it isn't found. Is there anything I might be missing? can someone guide me through it?, I fallowed one of the tutorials I found in google but it was of little help. Thank you for your help.
Epo35
Epo35
Is the DD set up right.

The web.xml should be set up right.
(It should be in a folder called WEB-INF)

Here is a example I got from my JBOSS web container (JBOSS uses tomcat). (I am tired so If I said any thing wrong let me know)




Welcome to JBoss

Welcome to JBoss


Status Servlet
org.jboss.web.tomcat.tc5.StatusServlet


Status Servlet
/status

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.