tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán F. Stefánsson <stef...@snote.decode.is>
Subject RE: web.xml configuration
Date Mon, 05 Mar 2001 16:04:56 GMT
I'm not sure about this but try to skip that leading '/' in
<url-pattern>.  I think I remember correctly when I say that it's not
supposed to be there.

Regards, Stefan.

-----Original Message-----
From: liselotte.ramvik@tjgroup.se [mailto:liselotte.ramvik@tjgroup.se]
Sent: 5. mars 2001 15:28
To: tomcat-user@jakarta.apache.org
Subject: web.xml configuration


Hi,
Can someone please tell me whats wrong with this web.xml file?


<servlet>


<servlet-name>nData</servlet-name>


<servlet-class>se.tj.activity.servlets.NServlet</servlet-class>


</servlet>


<servlet-mapping>


<servlet-name>nData</servlet-name>


<url-pattern>/se/tj/activity/servlets/nData</url-pattern>


</servlet-mapping>


The servlet is in the
\webapps\Activety\WEB-INF\classes\se\tj\activity\servlets directory and
the
servlet class is in a package called se.tj.activity.servlets.


Thanks!


/Lisa


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message