You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/03/30 19:11:24 UTC

DO NOT REPLY [Bug 46939] New: SES url patterns cannot be defined in the servlet mappings

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

           Summary: SES url patterns cannot be defined in the servlet
                    mappings
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: lmajano@gmail.com


The majority of servlet containers let you define servlet-mappings that can
reproduce SES (search engine safe) URL's.

Example:

http://myhost.com/index.jsp/myvar/value
http://myhost.com/index.jsp/entry/hello--there

This gives you the ability to create pretty ses url's without the need of an
external rewrite tool like mod_rewrite or an ses valve.

However, as I am aware of, only Tomcat does not allow these type of servlet
mappings.

<servlet-mapping>
      <servlet-name>jsp</servlet-name>
      <url-pattern>*.jsp/*</url-pattern>
</servlet-mapping>

The <url-pattern>*.jsp/*</url-pattern> is the one that chokes!! It cannot be
defined and used.

This to me is a bug as all servlet containers support this type of
url-patterns.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46939] SES url patterns cannot be defined in the servlet mappings

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46939





--- Comment #2 from Luis Majano <lm...@gmail.com>  2009-03-30 10:16:44 PST ---
So will it be supported in the future or it is something that will NEVER be
supported?

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46939] SES url patterns cannot be defined in the servlet mappings

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46939


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Mark Thomas <ma...@apache.org>  2009-03-30 10:14:53 PST ---
The url pattern you quote is not supported by the servlet spec.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org