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 thisand make content generator for articles and sitemap.xmlCode:@RequestMapping(value="/articles/{articlesCategoryName}/{articleName}.html", method=RequestMethod.GET)
I can not do correct run "view" view saved in /WEB-INF/pages/home.xhtml
on web.xmlon dispatcher-servlet.xmlCode:javax.faces.DEFAULT_SUFFIX=.xhtml javax.faces.webapp.FacesServlet=*.html
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.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>
architect aplication - spring mvc(Controller,Bean)
that suggest?


Reply With Quote
