I have been using Tomcat for quite some time now, and am still a bit shakey on some of the configuration details. I am currently using Tomcat5 and I want to my servlet to process all .jar and .jnlp files.
I have my servlet mapping set up in the web.xml: <servlet-mapping> <servlet-name>MyServlet</servlet-name> <url-pattern>*.jar</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>MyServlet</servlet-name> <url-pattern>*.jnlp</url-pattern> </servlet-mapping> My problem is that I want this to process all files, not just those in MySerlvet/ I cannot make a context element in the CATALINA_HOME/conf/[..]/[..]/MyServlet.xml that sets the path to be "/", since the default servlet already has this context. How can I bundle this up as a webapp and still have it process .jnlp and .jar files in all directories? Thanks, Mark Confidentiality Notice: OCIESERVICE --------------------------------------------------------------------- The contents of this e-mail message and any attachments are intended solely for the addressee(s) named in this message. This communication is intended to be and to remain confidential. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and its attachments. Do not deliver, distribute, copy, disclose the contents or take any action in reliance upon the information contained in the communication or any attachments. --------------------- Mark Claassen Donnell Systems, Inc. 300 S. St. Louis Blvd. Ste. 203 South Bend, IN 46617 E-mail: mailto:[EMAIL PROTECTED] Voice: (574)232-3784 Fax: (574)232-4014 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]