Hello,

your web.xml file has to be changed.
I'm not using Jo but if you use an *.xml file, then you have to write it
correctly.
In the <servlet-name> </servlet-name> part you give any name you like.
In the <servlet-class> </servlet-class> part you give the servlet class name,
without "web-inf/classes/..." .
In the <url-pattern> part maybe you should change it to
<url-pattern>/NameYouLike/*</url-pattern>

To test your servlet call:
http://localHost:8080/{ContextPath}/servlet/ServletName

Hope this help.
See you!

"V.T.R.Ravi Kumar" wrote:

> Hi EveryOne,
>
> If anyone using JO web Server please try to help me out
> I have loaded JO, to have run a small intranet service,
> I have some servlets also to be run in it, But I am unable to
> determine the place where I should keep the servlet and how
> to map it,As per documentation , I had kep the class file
> in the web_inf/classes directory and also have mentioned it
> in the web.xml file in the following manner
> <servlet>
>  <servlet-name>
>         Member <--------My servlet
>  </servlet-name>
>  <servlet-class>
>         web-inf/classes/Member <----- Path of the class
>  </servlet-class>
> </servlet>
>
> and in the servlet mapping as follows
> <servlet-mapping>
>  <servlet-name>Member</servlet-name>
>  <url-pattern>
>    /Member
>  </url-pattern>
> </servlet-mapping>
>
> But when run in the internet explorer
> as http://localhost:8080/servlet/Member
>
> I get http 500 error message
> servlet class not found!
>
> Do give some suggestions..
> thanks in advance
>  V.T.R. RAVI KUMAR., Engg., CCX, BHEL, Hardwar-249 403.
> -----------------------------------------------------
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to