I have a very simple
JEE project that I am building in Eclipse using
Maven. Three text boxes and a submit button which validates the entries and redirects to a second
JSP page if successful.
This code checks the request parameters from the submit button:
The problem is that the c:if fails and I cannot figure out why. I am using source code taken straight from my textbook.
This is the code for the web form, located in the same JSP file:
All the required bean classes and variables and dependencies have been declared etc. as per the textbook instructions. I just need to figure out why it won't register the POST request from the submit button.
I set a breakpoint on the conditional statement in question and attempted to debug it. At the line, I select Step Over and get the message, "addCourse.jsp line: not available". This occurs three more times and then the
test terminates at the end of the c:if statement, skipping the entire nested block.
Any ideas why this might be happening?