Henry,
Look at admin.do of your UFM fal project that I have programmed(Contact Mary 
Hill). It has no form bean whatsoever, not even a blank one.

<action path="/admin"
type="fal.AdminAction">
<forward name="success" path="/admin.jsp" />

The admin Action sets the session variables of who the user is,his 
department list, his access level, and other bunch of stuff. Admin.jsp has 
only html:links to different Actions.

>From: Ted Husted <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Re: action without form
>Date: Sat, 16 Feb 2002 04:28:34 -0500
>
>Yes, but the html:form tag expects a formbean, so in that case you need
>to create a blank form to placate the tag.
>
>Henry Lu wrote:
> >
> > In Struts, can we setup an action without form in the struts-config.xml
> > file? is the following legal?
> >
> > <action
> >  pathe="/something"
> >  type="so.so.somthing"
> >  scope="request"
> >  ...
> >  >
> > </action>
> >
> > There is no name specified in this action.
> >
> > 
>---------------------------------------------------------------------------
> > Henry Lu
> > MCIT                                            phone: (734) 936-2063
> > University of Michigan Medical Center           fax:   (734) 763-4372
> >
> > --
> > To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>
>-- Ted Husted, Husted dot Com, Fairport NY USA.
>-- Java Web Development with Struts.
>-- Tel +1 585 737-3463.
>-- Web http://www.husted.com/struts/
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to