Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JSP container cannot find my servlets

  Asked By: Hamish    Date: Apr 03    Category: Java    Views: 952

I'm working on some project,using Tomcat as my web server,and I've
faced a problem. My JSP container cannot find my servlets(the ones
I've writen for doing control on my pages!).My IDE knows them but not
the server.
I thought at first that the problem comes from my classpath,but now
I'm losing that idea,cause I've tested all the possibilities.
Can anyone help me in urgent, cause I really need help.



1 Answer Found

Answer #1    Answered By: Geb Chalthoum     Answered On: Apr 03

please note these:
at first step you should try this in this url ./WEB-INF/web.xml,
for example :

<servlet-name>Logout Servlet</servlet-name>

<servlet-name>Logout Servlet</servlet-name>

and when you define your servlet in web.xml your webserver like tomcat, see it in it;s own container.

Didn't find what you were looking for? Find more on JSP container cannot find my servlets Or get search suggestion and latest updates.