Rahul Akolkar wrote:
Servlet 2.4/JSP 2.0/JSTL1.1 -
${fn:length(name) > 20 ? fn:substring(name,0,20) : name}
oops, my fault, I forgot to mention Servlet 2.3/JSP 1.2/Tomcat 4/JSTL
1.0I know I'm difficult
Thanks
Luca
-
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
>
> --
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]
I believe you'll need to make your web.xml use the Servlet 2.4 schema.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 09, 2005 3:22 AM
> To: taglibs-user@jakarta.apache.org
> Subject: Problems using Taglibs 1.1: c:out
>
>
> Hi,
>
> i'
Don't use simple ' into the jstl tags, because they are used to mark a
string literal
Use " instead
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
add
isELIgnored="false"
to your "<%@ page" tag
--
::SammyRulez::
http://sammyprojectz.blogspot.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
i'm new to jstl: i downloaded jakarta-taglibs-standard-1.1.2 and copied
jstl.jar and
standard.jar in the web-inf directory of my web-application (i'm using
tomcat 5.0.19). i tried the following code-example:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
value =
this