You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wendy Smoak <We...@asu.edu> on 2003/04/14 01:14:25 UTC

RE: Exception on JSP execution

>  <html:form action="/proprietarios.do">

Remove the ".do" from the action parameter.  If that doesn't work, post the
relevant bits of struts-config.xml so we can see that both the form bean and
the action are set up properly.

You should have an action tag that begins
  <action path="/proprietarios"
and also a <form-bean> to go with it.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

Re: Exception on JSP execution

Posted by Romualdo Rubens de Freitas <ro...@sercomtel.com.br>.
Wendy,

I removed ".do" part and it didn't work.

Here are my struts-config.xml:
<struts-config>
   <form-beans>
     <form-bean name="proprietariosForm"
                type="com.imovelnaweb.forms.ProprietariosForm"/>
   </form-beans>

   <action-mappings>
     <action path="/proprietarios"
             type="com.imovelnaweb.actions.ProprietariosAction"
             name="proprietariosForm"
             scope="request"
             validate="true"
             input="/jsp/proprietarios.jsp">
       <forward name="success" path="/jsp/proprietarios.jsp"/>
     </action>
   </action-mappings>
</struts-config>

I hope you or someone else can help me out, 'cause I already spent a day on it.

Regards,
Romualdo Rubens de Freitas
mailto:romualdo@sercomtel.com.br



Wendy Smoak escreveu:
>> <html:form action="/proprietarios.do">
> 
> 
> Remove the ".do" from the action parameter.  If that doesn't work, post the
> relevant bits of struts-config.xml so we can see that both the form bean and
> the action are set up properly.
> 
> You should have an action tag that begins
>   <action path="/proprietarios"
> and also a <form-bean> to go with it.
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org