I'm trying to learn struts by using the huested book. His 1st example, a simple login type application has about 3 html/jsp pages, and about 4 java classes (a form, action, helper class and exception). I've compiled & deployed everything as the book describes, however, when I enter the information I've entered, I get this white screen of death. The url has what I believe the session id is, but I don't get the success or failure page to show, as I'd expect.
I'm using netbeans5.5 as my IDE. In creating the app, I selected the struts framework, and loaded the TLD's. Can anybody offer any suggestions on what I am missing?
The problem appears to be with the name of the method in your RegisterAction. It should be execute instead of perform. This is something that has changed since earlier versions of Struts. Another thing to watch out for is that in your JSP, the html:form tag should no longer have a name or type attribute. Just specify action and that will be sufficient.
Also, for future reference, when posting code, please highlight the code and press the code button. This will preserve the indents in your code and make it much easier to read. [ September 01, 2007: Message edited by: Merrill Higginson ]