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: action without form
Date Sun, 17 Feb 2002 13:11:19 GMT
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 <husted@apache.org>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>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:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>
>
>-- 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:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>
>




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


--
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