This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Think about what the rendered JavaScript would look like, then write the JSP to create that JavaScript.
Aditya Keyal
Ranch Hand
Joined: Dec 01, 2008
Posts: 71
posted
0
To replace the value of count with the actual calue in the javascript use the bean:write tag..
ex.
There is only one catch, if count is a number you can keep the above code. If count were a string value.. surround the bean:write with a pair of single quotes (').