Can you please re-post this with more readable formatting? On Tue, Jan 19, 2010 at 9:17 AM, mschipperheyn <m.schipperh...@gmail.com>wrote:
> Hi, I'm trying to set up REST support with Spring 3.0, Sitemesh and > Freemarker. By default the filters are configured for *.html but when I > change them to /*, the handler correctly executes, but the page fails > because apparently it tries to call freemarker decorators stored in the > WEB-INF directory as URIs. PageNotFound.noHandlerFound(962) | No mapping > found for HTTP request with URI [/mercadosa/WEB-INF/decorators/sell.ftl] in > DispatcherServlet with name 'dispatcher' Any ideas? Here's my web.xml > appfuse csstheme simplicity javax.servlet.jsp.jstl.fmt.localizationContext > ApplicationResources javax.servlet.jsp.jstl.fmt.fallbackLocale en > contextConfigLocation classpath:/applicationContext-resources.xml > classpath:/applicationContext-dao.xml > classpath:/applicationContext-service.xml classpath*:/applicationContext.xml > /WEB-INF/applicationContext*.xml /WEB-INF/security.xml > JSessionIdCleanerFilter > nl.msw.compraventa.interceptor.JSessionIdCleanerFilter clickstreamFilter > com.opensymphony.clickstream.ClickstreamFilter encodingFilter > org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 > forceEncoding true exportFilter org.displaytag.filter.ResponseOverrideFilter > gzipFilter net.sf.ehcache.constructs.web.filter.GzipFilter lazyLoadingFilter > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter > localeFilter org.appfuse.webapp.filter.LocaleFilter rewriteFilter > org.tuckey.web.filters.urlrewrite.UrlRewriteFilter logLevel log4j > securityFilter org.springframework.web.filter.DelegatingFilterProxy > targetBeanName springSecurityFilterChain sitemesh > com.opensymphony.module.sitemesh.filter.PageFilter staticFilter > org.appfuse.webapp.filter.StaticFilter includes /scripts/dojo/*,/dwr/* > servletName dispatcher JSessionIdCleanerFilter /* encodingFilter /* > securityFilter /* lazyLoadingFilter /* clickstreamFilter /* localeFilter /* > gzipFilter /* gzipFilter *.jsp exportFilter *.html rewriteFilter /* REQUEST > FORWARD sitemesh /* REQUEST FORWARD staticFilter /* REQUEST FORWARD > com.opensymphony.clickstream.ClickstreamListener > org.springframework.web.context.ContextLoaderListener > org.springframework.web.util.IntrospectorCleanupListener > org.springframework.web.context.request.RequestContextListener > org.appfuse.webapp.listener.UserCounterListener dispatcher > org.springframework.web.servlet.DispatcherServlet 1 dwr-invoker > org.directwebremoting.servlet.DwrServlet debug true sitemesh-freemarker > nl.msw.compraventa.webapp.utils.SpringFreemarkerDecoratorServlet > TemplatePath / default_encoding ISO-8859-1 sitemesh-freemarker *.ftl > dwr-invoker /dwr/* dispatcher /* 10 index.ftl 500 /error.ftl 400 /index.jsp > 403 /403.ftl 404 /404.ftl > ------------------------------ > View this message in context: REST implementation web.xml > configuration<http://n4.nabble.com/REST-implementation-web-xml-configuration-tp1017692p1017692.html> > Sent from the AppFuse - User mailing list > archive<http://n4.nabble.com/AppFuse-User-f547864.html>at Nabble.com. >