| Author |
Enums in JSPs
|
Ryan Kade
Ranch Hand
Joined: Aug 16, 2005
Posts: 69
|
|
Did some searching both in the forums and Google and didn't find a good answer to this question: how do I access an enum using EL in JSP? Is it even possible? If I have an enum: I'd like to be able to access it in the JSP: Any suggestions?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56228
|
|
Not possible. The EL is geared towards beans and their properties. I came up with a solution for class constants as outlined in this article, perhaps a similar tactic for enums would work?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Enums in JSPs
|
|
|