Re: directly addressing maps in jsp-file

2006-04-18 Thread Vinit Sharma
Hi Andreas, You are correct, Key name can be hardcoded the way you've written. :) On 4/14/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > > Hi Vinit, > > I will try it when I need it. How can I access the entry without using a > variable by giving the keyname hardcoded? Is it written like this

Re: directly addressing maps in jsp-file

2006-04-18 Thread Vinit Sharma
r > > Thanks, > Rama > > >From: "Vinit Sharma" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" > >To: "Struts Users Mailing List" > >Subject: Re: directly addressing maps in jsp-file > >Date: Thu, 13 Apr 2006 11:0

Re: directly addressing maps in jsp-file

2006-04-17 Thread rama chandrula
o: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: directly addressing maps in jsp-file Date: Thu, 13 Apr 2006 11:04:49 +0530 Hi, JSTL can help you here. Suppose key comes from bean item: I can use this key to access the bean property as: Hope it

Re: directly addressing maps in jsp-file

2006-04-14 Thread Andreas Hartmann
Hi Vinit, I will try it when I need it. How can I access the entry without using a variable by giving the keyname hardcoded? Is it written like this: Kind regards, Andreas Hartmann Vinit Sharma wrote: > Hi, > > JSTL can help you here. Suppose key comes from bean item: > > > > I can use

Re: directly addressing maps in jsp-file

2006-04-12 Thread Vinit Sharma
Hi, JSTL can help you here. Suppose key comes from bean item: I can use this key to access the bean property as: Hope it works :) HTH, On 4/12/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > > Hello all, > > I've got some problems accessing arrays and maps in the jsp-file. > > In the Ac

directly addressing maps in jsp-file

2006-04-12 Thread Andreas Hartmann
Hello all, I've got some problems accessing arrays and maps in the jsp-file. In the Action class, the following objects are defined: Hashtable hash = new Hashtable(); ArrayList > list = new ArrayList >(); hash.put("key","value"); hash.put("key1","value1"); list.add(hash); rq.setAttribute("ha