Hi,
Your url-pattern is illegal.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: zhicheng wang [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 26, 2004 11:31 AM
>To: [EMAIL PROTECTED]
>Subject: why my servlet does not work?
>
>Dear all, please help to see any thing wrong on my
>setup?
>
>servlet:
>a.b.c.ServletA.calss
>
>has been placed under:
>WEB-INF/classes/a/b/c/
>
>in WEB-INF/web.xml,
>
><web-app>
> ....
>
>  <servlet>
>    <servlet-name>djs</servlet-name>
>    <servlet-class>a.b.c.ServletA</servlet-class>
>
>    <init-param>
>        <param-name>configfile</param-name>
>
><param-value>/WEB-INF/jobs.properties</param-value>
>    </init-param>
></servlet>
>
>  <servlet-mapping>
>    <servlet-name>djs</servlet-name>
>    <url-pattern>/djs*</url-pattern>
>  </servlet-mapping>
>
>
>
></web-app>
>
>anything else do i need?
>
>i am not sure where the /WEB-INF/jobs.properties
>refers to? docbase or the "/"
>
>it is a linux sys
>tomcat 5.0.19
>
>thanks
>
>
>=====
>Best wishes
>Z C Wang
>
>
>
>
>
>____________________________________________________________
>Yahoo! Messenger - Communicate instantly..."Ping"
>your friends today! Download Messenger Now
>http://uk.messenger.yahoo.com/download/index.html
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to