Hi. I have a 2 JSPs.
first
JSP : It is the jsp configured to call a controller onLoad or onSubmit.
- here, i will have to dynamically add new form elements such as txtbox, tablerows, checkbox, etc.
- In order to add new form elements, and assign values to it, I will need to click on a button, let's say, "add" button.
This "add" button will trigger the display of another JSP page, which I wouldn't like to pass through a controller.
second JSP : it is the jsp called from the first JSP.
- this is a "child window" which gets some data from the parent window.
- here I will need to enter the type of form element and enter the values to be assigned to it.
- after i click "OK" button, the new form shall be added to the first JSP, including the values.
It works well if I use plain JSP.
But when I integrate it with spring mvc framework, it cannot find the 2nd JSP's location. It says, not found.
Regardless if i put the absolute or relative path or just the name of the 2nd JSP.
Is it possible?