Hello Bertrand, I installed those two bundles, but couldn't start them as the dependencies were not satisfied. Using the information from the Spring repository, I installed the following bundles in an attempt to satisfy the remaining dependencies:
- com.springsource.org.apache.xalan 2.7.0 - com.springsource.org.apache.xerces 2.8.1 - com.springsource.org.apache.xmlcommons 1.3.3 - com.springsource.org.apache.xml.resolver - com.springsource.org.apache.bcel - com.springsource.javax.servlet - com.springsource.javax.el On Fri, Aug 7, 2009 at 13:27, Bertrand Delacretaz <[email protected]>wrote: > Hi, > > On Tue, Aug 4, 2009 at 9:55 PM, Douglas José<[email protected]> wrote: > > I noticed Apache Felix has a commons-jstl bundle. I installed this bundle > in > > my sling (crx-quickstart) container, but I still can't use JSTL with my > JSP > > pages. Is there something else I should install? I noticed the bundle > > doesn't contains any tld file.... > > I don't think that commons-jstl bundle is meant to provide everything > needed to run JSTL, that would be a question for the Felix users list. > > What works for me is to install the two bundles found below: > > > http://www.osgi.org/Repository/HomePage?cmd=inspect&id=com.springsource.org.apache.taglibs.standard/1.1.2 > > > http://www.osgi.org/Repository/HomePage?cmd=inspect&id=com.springsource.javax.servlet.jsp.jstl/1.1.2 > > Which allow the following script to work: > > <%...@page session="false"%> > <%...@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%> > <%...@taglib prefix="c" uri="http://java.sun.com/jstl/core"%> > <sling:defineObjects/> > > <h1>JSP rendering result</h1> > <p> > Sling resource access:<%= > > resource.adaptTo(javax.jcr.Node.class).getProperty("text").getValue().getString() > %> > </p> > <p> > JSTL: <c:out value="Hello, JSTL world"/>! > </p> > > HTH, > -Bertrand > -- Douglas Jose http://douglasjose.com - "Use free software. Help us make a free world."
