Thanks for reply. Sorry my explanation was not clear. Here I try to explain again.
I am using a convention plugin and all my action classes and results are being specified using annotations.
Below is my structs.xml content.
and here is annotation in action class.
because of specifying result.path as /WEB-INF/content action is looking all jsp pages in the content folder.
But I want to place jsp files in sub folders of content folder as per their category like (student,teacher,staff etc...)
If I created a sub folder with name student in content folder (content/student) and place my student-form.jsp in student folder then action class is not able to locate this jsp page. I used below method. But not working. I want to know what is the correct way. Please let me know if you know the solution.
Keep your jsp files outside WebINF folder and inside of your project folder. Then in your result path location: read your jsp from your application context path.
for example, StudentManagementSystem/student/ student-form.jsp. Here StudentManagementSystem is your application context path, student is sub folder