translation from scriptlet

2005-09-09 Thread Luca Passani
How can I translate this: %=(name.length()20 ? name.substring(0,20) : name)% into its JSTL equivalent? Thanks Luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: translation from scriptlet

2005-09-09 Thread Rahul Akolkar
On 9/9/05, Luca Passani [EMAIL PROTECTED] wrote: How can I translate this: %=(name.length()20 ? name.substring(0,20) : name)% into its JSTL equivalent? Servlet 2.4/JSP 2.0/JSTL1.1 - ${fn:length(name) 20 ? fn:substring(name,0,20) : name} -Rahul Thanks Luca