[ 
http://www.stripesframework.org/jira/browse/STS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11270#action_11270
 ] 

m.j.milicevic commented on STS-505:
-----------------------------------

Hi Ben,

I tried your patch against the trunk and have some issues with bindings and 
application name/ deplyment name.

Example:
I am deploying my app as foobar, so root is:

http://localhost/foobar/

Lets say I have two action bean classes, mapped as:

 "/admin/index.html" and the second one as: "/foo/index.html"

Now accessing http://localhost/foobar/admin/index.html will call second bean's 
( mapped as "/foo/index.html") default handler  ( I am expecting "/admin" one 
here)


If I change appname to "bar" ("http://localhost/bar";) everything works as 
expected:

http://localhost/bar/admin/index.html maps to "/admin/index.html" bean
and
http://localhost/bar/foo/index.html maps to "/foo/index.html" bean.









> Provide some way to dispatch ActionBeans without a common prefix or suffix
> --------------------------------------------------------------------------
>
>                 Key: STS-505
>                 URL: http://www.stripesframework.org/jira/browse/STS-505
>             Project: Stripes
>          Issue Type: Improvement
>          Components: ActionBean Dispatching
>            Reporter: Ben Gunter
>            Assignee: Ben Gunter
>            Priority: Minor
>             Fix For: Release 1.5
>
>         Attachments: DynamicMappingFilter1.patch, DynamicMappingFilter2.patch
>
>
> With the new clean URLs, people really want to be able to map ActionBeans to 
> URLs without requiring a common prefix or suffix and without having to map 
> each path in web.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to