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]

Reply via email to