This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So I got the JSTL prac guide, diving in headfirst and converting my jsp scriptlet heavy code to JSTL ... and I have some questions. for each page, I declare a String like so:
And later on in the code is a method that checks the String and compares it against some session values - that's not the part i'm worried about. My question is, how would I do the above in JSTL, OR how would I do an equivalent with an ArrayList and JSTL?
Joined: Feb 15, 2003
Nevermind, it looks like c:set only works with javabeans or Maps
JSTL will work fine with arrays. The difficulties you are having probably stem from the fact that JSTL is generally unaware of sctipting elements and focuses primarily on context attributes. bear [ October 29, 2003: Message edited by: Bear Bibeault ]