This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Call spring controller from jsf 1.1 faces-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

Call spring controller from jsf 1.1 faces-config.xml

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
Hi
I am trying to integrate Spring 3.0 with current JSF 1.1 project, so i got spring added and it works well, now i want to send request from jsf backing bean to spring controller, so in my faces-config.xml i changed as below



I have a Spring controller defined as @RequestMapping(value = "/details") and in my web.xml i have added


When i directly call URL http://localhost:8080/myapp/spring/details it works fine, but when jsf is forwarding this request it adds .faces so the URL looks like below

http://localhost:8080/myapp/spring/details.faces

So how can i get it working any ideas


A$HI$H
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

Please do not post the same question more than once.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call spring controller from jsf 1.1 faces-config.xml
 
Similar Threads
<to-view-id> Element
Problem running a simple JSF application
JSF Lifecycle - URL confusion (forwarding to protected resource)
Call spring controller from faces-config.xml
.jsp file becomes .jsf file?