Announcement Announcement Module
Collapse
No announcement yet.
spring framework, netbeans 7.0.1 spring core 3.1.0M2 PrimeFaces 3.0M3 JSF Mojarra Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring framework, netbeans 7.0.1 spring core 3.1.0M2 PrimeFaces 3.0M3 JSF Mojarra

    Shalom, i teach self on practice, create personal site http://emetemunoy.appspot.com/, on appengine, i want use spring framework for this, netbeans 7.0.1 spring core 3.1.0M2 PrimeFaces 3.0M3 JSF Mojarra last version.
    i want to do frendly url like this
    Code:
    @RequestMapping(value="/articles/{articlesCategoryName}/{articleName}.html", method=RequestMethod.GET)
    and make content generator for articles and sitemap.xml
    I can not do correct run "view" view saved in /WEB-INF/pages/home.xhtml
    on web.xml
    Code:
    javax.faces.DEFAULT_SUFFIX=.xhtml javax.faces.webapp.FacesServlet=*.html
    on dispatcher-servlet.xml
    Code:
    	<beans:bean id="faceletsViewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
                    <beans:property name="viewClass" value="org.springframework.faces.mvc.JsfView"/>
    		<beans:property name="prefix" value="/WEB-INF/pages/" />
    		<beans:property name="suffix" value=".html" />
    	</beans:bean>
    pages return and view normal, but tags <form> not correct, in "action='WEB-INF/pages/home.html'" and if i click command button server return 404 page.
    architect aplication - spring mvc(Controller,Bean)
    that suggest?

  • #2
    facing same issue. anybody has idea?

    Comment

    Working...
    X