Wednesday, October 14, 2015

To Resolve error “JSP files must reside in the server root directory or a subdirectory beneath it”

The error “JSP files must reside in the server root directory or a subdirectory beneath it” occurs during compilation if the JSP files are located in other than HTML_ROOT Directory.

Steps to resolve the error in Jdeveloper:

1. Click on the “Tools” option in the Jdeveloper Menu.
2. Select the “Project Properties” option from the drop down.
You can see the “Project Properties” Window.
3. Click on the “+” in the “Project Content ” section to expand the options.
4. You can see the “HTML Root Directory” option in the Web Application.
5. Specify the Root Directory of your JSP Pages here & click on the Ok button.
6. “Make” or “Rebuild” your project now.

No comments:

Post a Comment