As this is a struts list then perhaps you'd consider using a struts
action or even perhaps a plain old servlet to do what you need.
request.setAttribute("test",MyClass.TEST);
if its a map then
request.setAttribute("mymap",map);
or even
Iterator keys = map.keySet().iterator();
while(keys.hasNext()
need a method called getTEST to be able to access using JSTL because doing
MyClass.TEST with JSTL violates the bean spec.
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: 22 September 2004 10:42
> To: [EMAIL PROTECTED]
> Subject: JSTL and scope
>
&g
Hi,
I am a little surprised that having a class variable imported into a page
isn't seen by JSTL contructs.
For example if i have a class that defines:
package com.company.test
public final class MyClass
{
public static final String TEST = "test";
}
and my JSP page has:
<[EMAIL PROTECTED] impo
3 matches
Mail list logo