struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Thompson" <elephant...@gmail.com>
Subject Re: Struts 2 and JSTL (XML)
Date Thu, 05 Apr 2007 19:50:42 GMT
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-tags" prefix="s" %>


-Brian

On 4/4/07, Dave Newton <newton.dave@yahoo.com> wrote:
>
> --- Eduardo Kortright <ekortright@gmail.com> 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 web
> framework.
>
> d.
>
>
>
>
>
> ____________________________________________________________________________________
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message