tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhicheng wang <wang...@yahoo.co.uk>
Subject why my servlet does not work?
Date Wed, 26 May 2004 15:30:35 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message