Re: Struts 2 and JSTL (XML)

2007-04-07 Thread Eduardo Kortright
Thanks! On 4/5/07, Brian Thompson <[EMAIL PROTECTED]> wrote: Yeah, it's possible. Just declare both taglibs in your jsps, like this: <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %> <%@ taglib uri="http://java

Re: Struts 2 and JSTL (XML)

2007-04-05 Thread Brian Thompson
Yeah, it's possible. Just declare both taglibs in your jsps, like this: <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql"; prefix="sql" %> <%@ taglib uri="/struts-

Re: Struts 2 and JSTL (XML)

2007-04-04 Thread Dave Newton
--- Eduardo Kortright <[EMAIL PROTECTED]> wrote: > Does anyone know if it's possible to combine Struts > 2 and JSTL, specifically the XML tags? While I haven't used the XML tags specifically I have no idea why you wouldn't be able to use them just like any of the JSTL tags; it's just another Java

Re: Struts 2 and JSTL

2006-11-12 Thread Ian Roughley
I think you can (still) also use OGNL in the configuration files. /Ian -- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design * Development ~ web: www.fdar.com email [EMAIL PROTECTED] phone:617.821.5430 ~

Re: Struts 2 and JSTL

2006-11-10 Thread Laurie Harper
Asthana, Rahul wrote: Hi All, Is JSTL and JSTL EL the library and expression language of choice in Struts 2? I read about OGNL somewhere.What library does it use? What are its advantages over JSTL? JSTL is a standard, but only works in JSP files. It provides both an EL and a set of custom tag