Hi, have declared a /loginPage action as follows:
This action is just to show the login page without calling the Action, for that I have another action:
Then, I have a DynaActionForm declared:
And the JSP:
When I acces to the login page, an exception raises:
David Newton wrote:
Well, but if you want to apply a common logic to all your form, it may not user friendly. example in my project all form needs to extends UserForm which is extend ActionForm
That's why I said "... if you don't have to". My S1 forms rarely had logic in them--I used them only as a way to get data from HTML forms. Even then I often subclassed DynaAction/DynaValiadatorActionForm to avoid cluttering the class.