You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by PEGASUS84 <pe...@hotmail.it> on 2009/03/13 23:23:04 UTC

tag set

good evenig
i would ask if i can get the value of variable x <s: set name="x"> in an
action
-- 
View this message in context: http://www.nabble.com/tag-set-tp22506157p22506157.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: tag set

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Again, what are you trying to do? Why do you need to set it in the
JSP, and what do you need it for in the action? Normally, you would
process the input in the action before the JSP is dispatched. Maybe
you need to look at your problem from a different angle.

Nils-H

On Sat, Mar 14, 2009 at 2:28 PM, PEGASUS84 <pe...@hotmail.it> wrote:
>
> and to access from the Action
>
> mgainty wrote:
>>
>>
>> ..to set..
>> <s:set name="user" value="user" scope="request"/>
>>
>> ..to access..
>> <s:property value="#request.user"/>Martin
>> ______________________________________________
>> Disclaimer and confidentiality note
>> Everything in this e-mail and any attachments relates to the official
>> business of Sender. This transmission is of a confidential nature and
>> Sender does not endorse distribution to any party other than intended
>> recipient. Sender does not necessarily endorse content contained within
>> this transmission.
>>
>>
>>
>>
>>> Date: Fri, 13 Mar 2009 16:05:36 -0700
>>> From: pegasus84@hotmail.it
>>> To: user@struts.apache.org
>>> Subject: Re: tag set
>>>
>>>
>>> certainly;
>>> but how do i achieve this thing?
>>>
>>> <s:set name="x" value="user">
>>> <% reqest.setAttribute("key",user)%>
>>>
>>> can i achieve this thing? in this way?
>>>
>>>
>>>
>>>
>>>
>>>
>>> Nils-Helge Garli wrote:
>>> >
>>> > Maybe you could try explaining what you're trying to achieve? Usually,
>>> > input is passed to the action through a form or request parameters.
>>> >
>>> > Nils-H
>>> >
>>> > On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it>
>>> wrote:
>>> >>
>>> >> good evenig
>>> >> i would ask if i can get the value of variable x <s: set name="x"> in
>>> an
>>> >> action
>>> >> --
>>> >> View this message in context:
>>> >> http://www.nabble.com/tag-set-tp22506157p22506157.html
>>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> >> For additional commands, e-mail: user-help@struts.apache.org
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> > For additional commands, e-mail: user-help@struts.apache.org
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/tag-set-tp22506157p22506748.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>
>> _________________________________________________________________
>> Express your personality in color! Preview and select themes for Hotmail®.
>> http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
>>
>
> --
> View this message in context: http://www.nabble.com/tag-set-tp22506157p22512640.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: tag set

Posted by Dave Newton <ne...@yahoo.com>.
Martin Gainty wrote:
> that confirms my hypothesis..

You hypothesized that I haven't used the S1 plugin for a very long time? 
  Or that showcase works? Or that S1 had nothing to do with the thread?

Dave


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
that confirms my hypothesis..

thanks,
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Sun, 15 Mar 2009 18:37:27 -0400
> From: newton.dave@yahoo.com
> To: user@struts.apache.org
> Subject: Re: tag set
> 
> Martin Gainty wrote:
> > so the examples are valid?
> 
> I know of no reason why they wouldn't be, although I haven't used the S1 
> plugin in a very long time.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme

Re: tag set

Posted by Dave Newton <ne...@yahoo.com>.
Martin Gainty wrote:
> so the examples are valid?

I know of no reason why they wouldn't be, although I haven't used the S1 
plugin in a very long time.

Dave


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
so the examples are valid?

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Sun, 15 Mar 2009 13:25:08 -0400
> From: newton.dave@yahoo.com
> To: user@struts.apache.org
> Subject: Re: tag set
> 
> Martin Gainty wrote:
> > the location 
> > src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration
> > is where the (apparently incorrect version Struts1.x) examples are located
> > 
> > *these examples are included in the 2.1.6 distro*
> 
> They're showing how to integrate Struts 1 and Struts 2. They're supposed 
> to be there, AFAIK. This thread, however, had nothing to do with Struts 1.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme

Re: tag set

Posted by Dave Newton <ne...@yahoo.com>.
Martin Gainty wrote:
> the location 
> src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration
> is where the (apparently incorrect version Struts1.x) examples are located
> 
> *these examples are included in the 2.1.6 distro*

They're showing how to integrate Struts 1 and Struts 2. They're supposed 
to be there, AFAIK. This thread, however, had nothing to do with Struts 1.

Dave


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
the location 
src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration
is where the (apparently incorrect version Struts1.x) examples are located

*these examples are included in the 2.1.6 distro*

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Sat, 14 Mar 2009 20:57:33 -0400
> From: newton.dave@yahoo.com
> To: user@struts.apache.org
> Subject: Re: tag set
> 
> Martin Gainty wrote:
> > Can you fix the examples in 
> > struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration
> 
> Not with a bug report like that; what's wrong with them?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Re: tag set

Posted by Dave Newton <ne...@yahoo.com>.
Martin Gainty wrote:
> Can you fix the examples in 
> struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration

Not with a bug report like that; what's wrong with them?

Dave


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
Can you fix the examples in 
struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration
?
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Sat, 14 Mar 2009 11:52:58 -0400
> From: newton.dave@yahoo.com
> To: user@struts.apache.org
> Subject: Re: tag set
> 
> Martin Gainty wrote:
> > its already in the request 
> > public class EditFuBarAction extends Action {
> >     public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
> >         String user=request.getParameter("user");
> >         return mapping.findForward("success");
> >     }
> > }
> > 
> > unless of course you want the parameters on the vs in which case you will have to implement
> > Petrellis ParametersInterceptor..
> > http://struts.apache.org/2.0.14/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html
> 
> You just mixed S1 and S2 in the same answer :/
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009

Re: tag set

Posted by Dave Newton <ne...@yahoo.com>.
Martin Gainty wrote:
> its already in the request 
> public class EditFuBarAction extends Action {
>     public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
>         String user=request.getParameter("user");
>         return mapping.findForward("success");
>     }
> }
> 
> unless of course you want the parameters on the vs in which case you will have to implement
> Petrellis ParametersInterceptor..
> http://struts.apache.org/2.0.14/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html

You just mixed S1 and S2 in the same answer :/

Dave


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
its already in the request 
public class EditFuBarAction extends Action {

    /* (non-Javadoc)
     * @see org.apache.struts.action.Action#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     */
    @Override
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
        String user=request.getParameter("user");

        return mapping.findForward("success");
    }
}

unless of course you want the parameters on the vs in which case you will have to implement
Petrellis ParametersInterceptor..
http://struts.apache.org/2.0.14/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Sat, 14 Mar 2009 06:28:50 -0700
> From: pegasus84@hotmail.it
> To: user@struts.apache.org
> Subject: RE: tag set
> 
> 
> and to access from the Action
> 
> mgainty wrote:
> > 
> > 
> > ..to set..
> > <s:set name="user" value="user" scope="request"/>
> > 
> > ..to access..
> > <s:property value="#request.user"/>Martin 
> > ______________________________________________ 
> > Disclaimer and confidentiality note 
> > Everything in this e-mail and any attachments relates to the official
> > business of Sender. This transmission is of a confidential nature and
> > Sender does not endorse distribution to any party other than intended
> > recipient. Sender does not necessarily endorse content contained within
> > this transmission. 
> > 
> > 
> > 
> > 
> >> Date: Fri, 13 Mar 2009 16:05:36 -0700
> >> From: pegasus84@hotmail.it
> >> To: user@struts.apache.org
> >> Subject: Re: tag set
> >> 
> >> 
> >> certainly;
> >> but how do i achieve this thing?
> >> 
> >> <s:set name="x" value="user">
> >> <% reqest.setAttribute("key",user)%>
> >> 
> >> can i achieve this thing? in this way?
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> Nils-Helge Garli wrote:
> >> > 
> >> > Maybe you could try explaining what you're trying to achieve? Usually,
> >> > input is passed to the action through a form or request parameters.
> >> > 
> >> > Nils-H
> >> > 
> >> > On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it>
> >> wrote:
> >> >>
> >> >> good evenig
> >> >> i would ask if i can get the value of variable x <s: set name="x"> in
> >> an
> >> >> action
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/tag-set-tp22506157p22506157.html
> >> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> >> For additional commands, e-mail: user-help@struts.apache.org
> >> >>
> >> >>
> >> > 
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> > For additional commands, e-mail: user-help@struts.apache.org
> >> > 
> >> > 
> >> > 
> >> 
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/tag-set-tp22506157p22506748.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >> 
> > 
> > _________________________________________________________________
> > Express your personality in color! Preview and select themes for Hotmail®. 
> > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/tag-set-tp22506157p22512640.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

RE: tag set

Posted by PEGASUS84 <pe...@hotmail.it>.
and to access from the Action

mgainty wrote:
> 
> 
> ..to set..
> <s:set name="user" value="user" scope="request"/>
> 
> ..to access..
> <s:property value="#request.user"/>Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained within
> this transmission. 
> 
> 
> 
> 
>> Date: Fri, 13 Mar 2009 16:05:36 -0700
>> From: pegasus84@hotmail.it
>> To: user@struts.apache.org
>> Subject: Re: tag set
>> 
>> 
>> certainly;
>> but how do i achieve this thing?
>> 
>> <s:set name="x" value="user">
>> <% reqest.setAttribute("key",user)%>
>> 
>> can i achieve this thing? in this way?
>> 
>> 
>> 
>> 
>> 
>> 
>> Nils-Helge Garli wrote:
>> > 
>> > Maybe you could try explaining what you're trying to achieve? Usually,
>> > input is passed to the action through a form or request parameters.
>> > 
>> > Nils-H
>> > 
>> > On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it>
>> wrote:
>> >>
>> >> good evenig
>> >> i would ask if i can get the value of variable x <s: set name="x"> in
>> an
>> >> action
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/tag-set-tp22506157p22506157.html
>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >>
>> >>
>> > 
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/tag-set-tp22506157p22506748.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
> 
> _________________________________________________________________
> Express your personality in color! Preview and select themes for Hotmail®. 
> http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
> 

-- 
View this message in context: http://www.nabble.com/tag-set-tp22506157p22512640.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
..to set..
<s:set name="user" value="user" scope="request"/>

..to access..
<s:property value="#request.user"/>Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Fri, 13 Mar 2009 16:05:36 -0700
> From: pegasus84@hotmail.it
> To: user@struts.apache.org
> Subject: Re: tag set
> 
> 
> certainly;
> but how do i achieve this thing?
> 
> <s:set name="x" value="user">
> <% reqest.setAttribute("key",user)%>
> 
> can i achieve this thing? in this way?
> 
> 
> 
> 
> 
> 
> Nils-Helge Garli wrote:
> > 
> > Maybe you could try explaining what you're trying to achieve? Usually,
> > input is passed to the action through a form or request parameters.
> > 
> > Nils-H
> > 
> > On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it> wrote:
> >>
> >> good evenig
> >> i would ask if i can get the value of variable x <s: set name="x"> in an
> >> action
> >> --
> >> View this message in context:
> >> http://www.nabble.com/tag-set-tp22506157p22506157.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/tag-set-tp22506157p22506748.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme

Re: tag set

Posted by PEGASUS84 <pe...@hotmail.it>.
certainly;
but how do i achieve this thing?

<s:set name="x" value="user">
<% reqest.setAttribute("key",user)%>

can i achieve this thing? in this way?






Nils-Helge Garli wrote:
> 
> Maybe you could try explaining what you're trying to achieve? Usually,
> input is passed to the action through a form or request parameters.
> 
> Nils-H
> 
> On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it> wrote:
>>
>> good evenig
>> i would ask if i can get the value of variable x <s: set name="x"> in an
>> action
>> --
>> View this message in context:
>> http://www.nabble.com/tag-set-tp22506157p22506157.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tag-set-tp22506157p22506748.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: tag set

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Maybe you could try explaining what you're trying to achieve? Usually,
input is passed to the action through a form or request parameters.

Nils-H

On Fri, Mar 13, 2009 at 11:23 PM, PEGASUS84 <pe...@hotmail.it> wrote:
>
> good evenig
> i would ask if i can get the value of variable x <s: set name="x"> in an
> action
> --
> View this message in context: http://www.nabble.com/tag-set-tp22506157p22506157.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


RE: tag set

Posted by Martin Gainty <mg...@hotmail.com>.
jsp:
  		<c:url var="exeurl" value="/viewJobDetail.action">
			<c:param name="fname" value="${row.fname}"/>
  			<c:param name="lName" value="${row.lname}"/>
		</c:url>
once inside the action class *mapped for viewJobDetail* you can pull each of the 3 params
 http://<host>:<port>/<context>/viewJobDetail.action?fname=Giorgio&name=Armani

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> Date: Fri, 13 Mar 2009 15:23:04 -0700
> From: pegasus84@hotmail.it
> To: user@struts.apache.org
> Subject: tag set
> 
> 
> good evenig
> i would ask if i can get the value of variable x <s: set name="x"> in an
> action
> -- 
> View this message in context: http://www.nabble.com/tag-set-tp22506157p22506157.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009