Vinicius,
Your struts-config.xml file is incorrect. In your Actionmapping is
incorrect. You have:
<action path="/votar" scope="request" validate="true"
className="com.acme.AcmeAction"
name="votarForm">
<forward name="success"
path="def.regionalVotacao"></forward>
<forward name="failure" path="def.votacao"></forward>
</action>
Change 'className' to 'type'. The 'className' attribute is for something
totally different and mainly used if you have "set-property" attributes for
your action. For basic actions, put your java Action class as the value of
the 'type=""' attribute. Something like this would be a streamlined version
of what you have above:
<action path="/votar" scope="request" validate="true"
type="com.acme.AcmeAction" name="votarForm">
<forward name="success" path="def.regionalVotacao" />
<forward name="failure" path="def.votacao" />
</action>
For a more complete explanation of how to configure Struts, check out the
User Guide at:
http://struts.apache.org/struts-action/userGuide/building_controller.html#4_
8_Writing_Action_Mappings
Regards,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]