Aug 2nd, 2011, 10:28 AM
Spring Faces with No Web Flow
I am trying to integrate JSF and SPring MVC.
I added the following code in the applicationContext.xml file
<bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBas edViewResolver">
<property name="viewClass" value="org.springframework.faces.mvc.JsfView"></property>
<property name="prefix" value="/WEB-INF/views/"/>
<property name="suffix" value=".xhtml"/>
I am able to get a form running but was not able to submit an action to the controller using h:form and also not able to validate the form.
Is it possible to integrate JSF with Spring MVC and not use web flow.