Non WAR JSP spring-boot example -
i've been checking out of spring-boot provided examples jsp view technologie being packaged war artifacts.
would nice provide jar example if possible?
i know jsp requires servlet engine/servlet container opposed e.g freemarker .. rendering .. being jetty or tomcat servlet containers option viable , possible ?
trying setup far not success, last try create
meta-inf/resources folder put jsp resources still not visible viewresolver
@bean public viewresolver jspviewresolver() { internalresourceviewresolver viewresolver = new internalresourceviewresolver(); viewresolver.setprefix("/meta-inf/resources/jsp/"); viewresolver.setsuffix(".jsp"); viewresolver.setorder(2); return viewresolver; }
at end.. trying setup here:
http://alexismp.wordpress.com/2010/04/28/web-inflib-jarmeta-infresources/
thanks
afaik it's not possible (owing limitations imposed containers): http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-jsp-limitations
Comments
Post a Comment