IMPORTANT! This message has been blind-carbon-copied to you.
Do not reply-to-all or forward it without the author's permission.

Hi,
  This is probably me being extremely stupid but I have the following xml 
file (for a test).

<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app>
   <display-name>Simple test</display-name>
   <servlet>
     <servlet-name>Hi</servlet-name>
     <servlet-class>Hello</servlet-class>
   </servlet>
   <servlet-mapping>
     <servlet-name>Hi</servlet-name>
     <url-pattern>/Damn/*</url-pattern>
   </servlet-mapping>
</web-app>

  I would have thought that this would allow:
      http://url/Damn/*
  To display the hello world servlet.  The url:
      http://url/servlet/Hi
  Works but the servlet mapping doesn't.  Am I being stupid?  And if so 
what is the solution?

Paul

Reply via email to