Homero, Often, people starting with Struts see blank pages if they use the wrong method in their Action class. Are you using perform() instead of execute() as your method? Your struts-config.xml file suggests you are using an outdated book because it lists your config DTD as version 1.0, not something more recent such as 1.2 (for the current version 1.2.9). If you are just starting on the Struts (classic a.k.a. Action 1.0) with the current downloads, the perform() method has long been deprecated in favor of the execute() method. There are a few other changes so you might want to check the migration notes on the Struts Wiki for later versions. Most of it should be the same but a few things have changed since your book teaching the 1.0 version. And for what it is worth, I learned Struts using that book too but my copy of it only taught version 1.0 with notes about 1.1, since that it when my copy of the book came out.
Regards, David -----Original Message----- From: Homero Cardoso de Almeida [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 10:46 AM To: user@struts.apache.org Subject: struts not forwarding after action Hello, I've created an application on my webapps folder, copied the libraries and tag descriptors needed, compiled the sources successfully and wrote the struts-config.xml for my app. But it's not working properly. =/ I'm trying the first example of the "Struts In Action" book. The JSP form page is shown fine, but when I send the data, either if the request succeeds or fails i receive a blank page. It looks like the forward is not happening. =/ Here is my struts-config.xml file: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://struts.apache.org/dtds/struts-config_1_0.dtd"> <struts-config> <form-beans> <form-bean name="registerForm" type="app.RegisterForm" /> </form-beans> <action-mappings> <action path="/register" type="app.RegisterAction" name="registerForm"> <forward name="success" path="/success.html" /> <forward name="failure" path="/failure.html" /> </action> </action-mappings> </struts-config> The actions do have a return statement with a call to findForward. Does anyone have any clue of what is happening? =/ Thanks to you all. Homero C. de Almeida --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]