jsf - Navigating outside of dir into a different directory in primafaces -


i using templates primefaces , can't seem right. keep getting 500 error. trying navigate createorder.xhtml web-inf/templates/fullpagetemplate.xhtml.

the path have in createorder.xhtml is:

template="/web-inf/templates/fullpagetemplate.jsf" 

i keep getting exception:

servlet.service() servlet faces servlet threw exception: javax.faces.view.facelets.tagattributeexception: /order/createorder.xhtml @7,53 <ui:composition template="/web-inf/templates/fullpagetemplate.jsf"> invalid path : /web-inf/templates/fullpagetemplate.jsf 

screenshot of file structure:

hello

you need go 1 directory first before navigating web-inf directory preceding file path .. this:

template="../web-inf/templates/fullpagetemplate.jsf" 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo