You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henry Lu <zh...@umich.edu> on 2002/02/15 15:44:13 UTC
action without form
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: action without form
Posted by Ted Husted <hu...@apache.org>.
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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: action without form
Posted by Louis Leung <lo...@sun.com>.
yes
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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>