You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Hunt <te...@yahoo.com> on 2001/01/30 01:24:37 UTC
Action Form
If a person invokes a ActionServlet without any submit
( say directly invoke logon.do ), I can check that he
hasnt submitted any data in the ActionForm class, so I
would like to send the user back to the input page
from the ActionForm itself. ActionForm returns errors.
If I dont want to add any error message ( in this
scenario ) but still send the user back to the input
page from the ActionForm without ActionClass doing it,
how can I do that.
/Hunt
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
Re: Action Form
Posted by Anand Raman <an...@mymailbag.com>.
Hi Hunt,
can be done in many ways..
one way being
generate errors in ActionForm but dont display in the jsp page by simple
skipping the <html:errors/> tag from the file..
hope this is of some help
Anand
On Mon, Jan 29, 2001 at 04:24:37PM -0800, John Hunt wrote:
>If a person invokes a ActionServlet without any submit
>( say directly invoke logon.do ), I can check that he
>hasnt submitted any data in the ActionForm class, so I
>would like to send the user back to the input page
>from the ActionForm itself. ActionForm returns errors.
>If I dont want to add any error message ( in this
>scenario ) but still send the user back to the input
>page from the ActionForm without ActionClass doing it,
>how can I do that.
>/Hunt
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Auctions - Buy the things you want at great prices.
>http://auctions.yahoo.com/