problem in running servlets

2002-02-12 Thread Deep Singh Bhau

Hi 
 
 
I have put the Servlet class(DeepServlet.class) in a folder which is
there in my classpath. And I have set the following in web.xml(it is
within the folder WEB-INF UNDER MY APPLICATION).
 
web-app
 
 
servlet
servlet-namedeep/servlet-name
servlet-classcom.servlet.DeepServlet/servlet-class
/servlet
 
servlet-mapping
url-pattern/deep/url-pattern
servlet-namedeep/servlet-name
/servlet-mapping
 

/web-app
 
BUT IM OPENING IT IN BROWSER
 
http://localhost:8080/deep/deep
 
ITS GIVING PAGE NOT FOUND.
 
Please comment
 
Regards,
Deep 



Re: problem in running servlets

2002-02-12 Thread tarunjava

i hope by classpath u mean u have put the class file in the directory /My
Application/WEB-NF/lasses/ folder . If it is anywhere else it wont work ~!
tarun
- Original Message -
From: Deep Singh Bhau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 5:23 PM
Subject: problem in running servlets


Hi


I have put the Servlet class(DeepServlet.class) in a folder which is
there in my classpath. And I have set the following in web.xml(it is
within the folder WEB-INF UNDER MY APPLICATION).

web-app


servlet
servlet-namedeep/servlet-name
servlet-classcom.servlet.DeepServlet/servlet-class
/servlet

servlet-mapping
url-pattern/deep/url-pattern
servlet-namedeep/servlet-name
/servlet-mapping


/web-app

BUT IM OPENING IT IN BROWSER

http://localhost:8080/deep/deep

ITS GIVING PAGE NOT FOUND.

Please comment

Regards,
Deep



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]