Re: JSTL and scope

2004-09-22 Thread Mark Lowe
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()

RE: JSTL and scope

2004-09-22 Thread Allistair Crossley
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

JSTL and scope

2004-09-22 Thread andy wix
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