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 ! @ # \\ \- + ? & $"/> >>>> >>>>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 ! @ # \\ \- + ? & $"/>' /> >>>> >>>>--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]