Hello all,
I'm new to Spring and i'm trying to implement a SimpleFormController and a form with the spring-form tag library. I have a DAO bean and an command object with the fields of the form. I also extended the SimpleFormController:
And the
jsp formView
I have defined this form controller in the dispatcher-servlet.xml
When i try this form i get the following message from the glassfish server:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
Sun GlassFish Enterprise Server v2.1.1
And if i look at the generated form HTML code i see:
Why is it refering to "/logintest/WEB-INF/jsp/testForm.jsp" and not to "/logintest/testform.htm" (the mapping of the controller)? is it something i missed in the documentation or something i should know about spring? The only reference to this issue i found using google is refering to Spring 2.0 and not giving a cause or solution. I am using Spring 2.5 (the one supplied with netbeans 6.7.1).
Can anyone point me to the right direction?