Announcement Announcement Module
Collapse
No announcement yet.
handlerMapping and Pattern Matching (Regex) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • handlerMapping and Pattern Matching (Regex)

    Hello

    I have two Urls that need to go to two different Controllers

    The first one is "/mypath/myFirst"
    <prop key="/mypath/myFirst">myFirstController</prop>

    The second one will match any letter
    <prop key="/mypath/([\w\d -]+)">mySecondController</prop>

    If I use the pattern matching as above, I always go to the mySecondController....

    Any fix solution for this case ???

    Many thanks
Working...
X