struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SUPRIYA MISRA" <supriya_mi...@hotmail.com>
Subject Re: is ActionForm required for Action even if no form on page?
Date Mon, 18 Feb 2002 16:45:13 GMT
You dont need an empty class  In struts-config.xml write like this
<forward name="falnews"   path="/falnews.jsp"/>
No Action,No Form

>From: Adam Hardy <adam_hardy@altavista.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: is ActionForm required for Action even if no form on page?
>Date: 18 Feb 2002 07:43:00 -0800
>
>Hi All,
>
>When I setup an Action, is an ActionForm required even if I dont have a 
>form on my page?
>
>Do I have to write an empty class and define it as the name in the Action 
>Mapping definitions in the struts-config.xml?
>
>I'm getting an error on my page, because I haven't done this, from 
>html:errors, but short of getting rid of html:errors, is there a way to 
>tell struts I don't need a form?
>
>Will having an ActionError in my request mess up the processing of tags on 
>the page at all?
>
>Thanks
>Adam
>
>
>Find the best deals on the web at AltaVista Shopping!
>http://www.shopping.altavista.com
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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


Mime
View raw message