Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 22061 invoked from network); 11 Nov 2003 19:38:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Nov 2003 19:38:47 -0000 Received: (qmail 13191 invoked by uid 500); 11 Nov 2003 19:38:21 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 13039 invoked by uid 500); 11 Nov 2003 19:38:20 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 13026 invoked from network); 11 Nov 2003 19:38:20 -0000 Received: from unknown (HELO madmail02.fiskars.com) (64.73.39.52) by daedalus.apache.org with SMTP; 11 Nov 2003 19:38:20 -0000 Received: from madmail01.fiskars.com ([10.5.50.218]) by madmail02.fiskars.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Nov 2003 13:38:24 -0600 Received: from fiskars.com ([10.5.200.72]) by madmail01.fiskars.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Nov 2003 13:38:25 -0600 Message-ID: <3FB13AB0.702@fiskars.com> Date: Tue, 11 Nov 2003 13:38:24 -0600 From: Brice Ruth Organization: Fiskars Brands, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: usage of tags inside tags References: <62665.138.88.163.115.1068499206.squirrel@physics.gmu.edu> <3FB00453.3020803@fiskars.com> <63946.138.88.163.115.1068570604.squirrel@physics.gmu.edu> <3FB12795.8020706@fiskars.com> <63159.138.88.163.115.1068577583.squirrel@physics.gmu.edu> In-Reply-To: <63159.138.88.163.115.1068577583.squirrel@physics.gmu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Nov 2003 19:38:25.0085 (UTC) FILETIME=[5F6486D0:01C3A88B] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Use the ${...} syntax with whatever you name the var in: In this example, the variable is named "rand" - so you'd use ${rand}. Or, don't use that syntax at all and use the syntax. Where you don't need to explicitly store the random string in a separate variable. mohan@physics.gmu.edu 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. >> >>mohan@physics.gmu.edu wrote: >> >> >> >>>Hi in this construct >>> >>> >>> >>>in place of value should we use value="$var" or value="${rand}". Please >>>let me know. >>> >>> >>>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. >>>> >>>>mohan@physics.gmu.edu wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi All >>>>>I would like to use >>>>> >>>>> >>>>>as the value for a tag and store it as property >>>>>security. How can i do that? >>>>> >>>>>can i do this >>>>> >>>>> >>>>>--mohan >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>--------------------------------------------------------------------- >>>>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org >>>>>For additional commands, e-mail: struts-user-help@jakarta.apache.org >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>-- >>>>Brice D. Ruth >>>>Sr. IT Analyst >>>>Fiskars Brands, Inc. >>>> >>>> >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For >>>>additional commands, e-mail: struts-user-help@jakarta.apache.org >>>> >>>> >>>> >>>> >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For >>>additional commands, e-mail: struts-user-help@jakarta.apache.org >>> >>> >>> >>> >>> >>-- >>Brice D. Ruth >>Sr. IT Analyst >>Fiskars Brands, Inc. >> >> >> >>--------------------------------------------------------------------- To >>unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For >>additional commands, e-mail: struts-user-help@jakarta.apache.org >> >> > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: struts-user-help@jakarta.apache.org > > > -- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org