struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: <html:options />
Date Thu, 24 Oct 2002 15:13:40 GMT
> -----Original Message-----
> From: Chen, Gin []
> Sent: Thursday, October 24, 2002 7:46 AM

> 	I'm not sure but I wonder if u can "fool" struts into doing this
> with the new Struts-EL.
> I wonder if u do something like assuming that ur singleton is 
> class Blah
> and it defines a static method called getInstance() [since 
> its a singleton
> it should]
> then u should be able to make do.
> 	${blah.instance.allParts} in EL. no? i'm pretty new to 
> the whole EL
> thing still so I'm not 100% sure. Shawn Bayern or David Karr 
> or David Graham
> (who contributed Struts-EL) might better answer that :-P
> 	if that does work but u cant use Struts-EL you can 
> still set up a
> var using c:set.

The JSTL EL syntax only allows references to getter methods and properties
as defined in the JavaBeans specification.  You can't reference static

And as to your people references, Shawn is the JSTL expert (implementation
lead), and I wrote Struts-EL (which was simple, given Struts and the JSTL).

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message