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
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
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
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
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
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
6 matches
Mail list logo