I used the second sytax as
<html:hidden property="keycode">
<rand:string id="random1" charset="all" property="random" />
</html:hidden>
And i cannot see this value in my "keycode". I do not want to store it
anywhere but the resetPasswordForm the form bean for this
jsp(resetpassword.jsp)


> Use the ${...} syntax with whatever you name the var in:
>
> <c:set var="rand"><rand:string ... /></c:set>
>
> In this example, the variable is named "rand" - so you'd use ${rand}.
>
> Or, don't use that syntax at all and use the
>
> <html:hidden ... ><rand:string ... /></html:hidden>
>
> syntax. Where you don't need to explicitly store the random string in a
> separate variable.
>
> [EMAIL PROTECTED] wrote:
>
>>Hi
>>I meant should i say "${var}" or "${rand}".
>>
>>--mohan
>>
>>
>>
>>
>>>within the struts tags that support EL, you need to use the ${...}
>>> syntax. To my knowledge, the only (standard) tags that use "$var" are
>>> the JSTL xml tags. Make sure that you are using the struts-html-el
>>> taglib.
>>>
>>>[EMAIL PROTECTED] wrote:
>>>
>>>
>>>
>>>>Hi in this construct
>>>><c:set var="rand"><rand:string ... /></c:set>
>>>>
>>>><html:hidden ... value="${rand}"/>
>>>>in place of value should we use value="$var" or value="${rand}".
>>>> Please let me know.
>>>>
>>>><html:hidden ... ><rand:string ... /></html:hidden>
>>>>I have used this but somehow a random string is not constructed but
>>>> only an empty string is seen.
>>>>
>>>>Please let me know if anyone has any ideas about this. I am trying to
>>>> create a random string and put it into the database associated with
>>>> the user.
>>>>
>>>>--Mohan
>>>>
>>>>
>>>>
>>>>
>>>>>Whatever your fancy is :) But, no - you can't do it as you propose,
>>>>> to my knowledge.
>>>>>
>>>>>[EMAIL PROTECTED] wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hi All
>>>>>>I would like to use
>>>>>><rand:string id="random4" charset="A-Z ! @ # \\ \- + ? &amp; $"/>
>>>>>>
>>>>>>as the value for a <html:hidden> tag and store it as property
>>>>>> security. How can i do that?
>>>>>>
>>>>>>can i do this
>>>>>><html:hidden property="security" value='<rand:string id="random4"
>>>>>> charset="A-Z ! @ # \\ \- + ? &amp; $"/>' />
>>>>>>
>>>>>>--mohan
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail:
>>>>>> [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>--
>>>>>Brice D. Ruth
>>>>>Sr. IT Analyst
>>>>>Fiskars Brands, Inc.
>>>>>
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>--
>>>Brice D. Ruth
>>>Sr. IT Analyst
>>>Fiskars Brands, Inc.
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED] For
>>> additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED] For
>> additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> Brice D. Ruth
> Sr. IT Analyst
> Fiskars Brands, Inc.
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]




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

Reply via email to