Home  >  Forum  >  Spring
Post New Query

Spring Java config question using netbeans IDE



Asked on February 04, 2017
Hi,
I am creating a JSF ,Spring Webapplication with java configurtion in Netbeans8.2.
Where is the root in netbeans to place the index.xhtml file?
Inside WEB-INF Folder?

Thanks
Ray



Replied on February 04, 2017
Root folder is just above WEB-INF.  The files inside WEB-INF such as .xhtml are protected resource and they can not be accessed outside of the application. They can be accessed within the application using as UrlBasedViewResolver and InternalResourceViewResolver.   

To work with spring and JSF find a sample URL.


Above application is using Eclipse.



Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us