https://issues.apache.org/bugzilla/show_bug.cgi?id=47378





--- Comment #17 from Tim Funk <funk...@apache.org>  2009-08-03 04:45:22 PST ---
Created an attachment (id=24088)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24088)
War file demonstrating exact mappings

Exact mappings dont need a physical file. (At least with the way the mapper
works right now)

Attached is example working on tomcat 6


as a timesaver ... here is the web.xml
  <servlet>
    <servlet-name>fooo</servlet-name>
    <jsp-file>/foo.jsp</jsp-file>
  </servlet>
  <servlet-mapping>
     <servlet-name>fooo</servlet-name>
     <url-pattern>/TIMMAY</url-pattern>
   </servlet-mapping>
   <welcome-file-list>
     <welcome-file>TIMMAY</welcome-file>
   </welcome-file-list>



If / is requested - then the servlet named fooo (path=/TIMMAY) will be used.
All this is without the patch I supplied. 

For   Rex Wang (comments 5,11,12) - I think you have a config issue which needs
moved to the user list so they can help you.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to