confusion between controllers

4 messages Options
Embed this post
Permalink
Julien C.

confusion between controllers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi list,

I have two beans :  Groupe and GroupeNote
I have generated the code  for Spring MVC using appfuse. the GroupeController is always use for url begining with groupe (groupes.html, but groupeNotes.html too !) but the view is correctly choosen.  How do I proceed to not use org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping for this url ? when I make a mapping in urlMapping ( org.springframework.web.servlet.handler.SimpleUrlHandlerMapping ) It still use the
ControllerClassNameHandlerMapping method !

thank you. Julien C.
Julien C.

Re: confusion between controllers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I have just reverse priority between org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping and org.springframework.web.servlet.handler.SimpleUrlHandlerMapping. I hope that it will not disturb the appfuse app.

Julien C.

Julien C. a écrit :
Hi list,

I have two beans :  Groupe and GroupeNote
I have generated the code  for Spring MVC using appfuse. the GroupeController is always use for url begining with groupe (groupes.html, but groupeNotes.html too !) but the view is correctly choosen.  How do I proceed to not use org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping for this url ? when I make a mapping in urlMapping ( org.springframework.web.servlet.handler.SimpleUrlHandlerMapping ) It still use the
ControllerClassNameHandlerMapping method !

thank you. Julien C.

mraible

Re: confusion between controllers

Reply Threaded More More options
Print post
Permalink
I don't think reversing the priority/order will hurt anything. In
fact, it should be that way by default IMO. Can you please enter this
as an issue in JIRA?

http://issues.appfuse.org/browse/APF

Thanks,

Matt

On 7/23/07, Julien C. <[hidden email]> wrote:

>
>  I have just reverse priority between
> org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping
> and
> org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.
> I hope that it will not disturb the appfuse app.
>
>  Julien C.
>
>  Julien C. a écrit :
> Hi list,
>
>  I have two beans :  Groupe and GroupeNote
>  I have generated the code  for Spring MVC using appfuse. the
> GroupeController is always use for url begining with groupe (groupes.html,
> but groupeNotes.html too !) but the view is correctly choosen.  How do I
> proceed to not use
> org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping
> for this url ? when I make a mapping in urlMapping (
> org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
> ) It still use the
> ControllerClassNameHandlerMapping
> method !
>
>  thank you. Julien C.
>
>


--
http://raibledesigns.com
Julien C.

Re: confusion between controllers

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thank you Matt. enter in JIRA.

Matt Raible a écrit :
I don't think reversing the priority/order will hurt anything. In
fact, it should be that way by default IMO. Can you please enter this
as an issue in JIRA?

http://issues.appfuse.org/browse/APF

Thanks,

Matt

On 7/23/07, Julien C. [hidden email] wrote:

 I have just reverse priority between
org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping
and
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.
I hope that it will not disturb the appfuse app.

 Julien C.

 Julien C. a écrit :
Hi list,

 I have two beans :  Groupe and GroupeNote
 I have generated the code  for Spring MVC using appfuse. the
GroupeController is always use for url begining with groupe (groupes.html,
but groupeNotes.html too !) but the view is correctly choosen.  How do I
proceed to not use
org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping
for this url ? when I make a mapping in urlMapping (
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
) It still use the
ControllerClassNameHandlerMapping
method !

 thank you. Julien C.