Hello developers, I am trying to use jstl for writing jsp in dspace.
What I've done: * added jar files from jstl package to WEB-INF/lib of dspace. I have tried jstl-1.2.jar from EE5, and also 1.1.2 from Apache taglib project. * added the tld files from jstl package to WEB-INF of dspace. * added several <taglib> to web.xml of dspace (below is one of them) <taglib> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> <taglib-location>/WEB-INF/c.tld</taglib-location> </taglib> * prepared a test.jsp in jspui of dspace: <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> <title>Count to 10 Example (using JSTL)</title> </head> <body> <c:forEach var="i" begin="1" end="10" step="1"> <c:out value="${i}" /> <br /> </c:forEach> </body> </html> * open the test.jsp page from browser and get: ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} ${i} No error message or exception in tomcat's/dspace's log. In a separated barebone webapp in the same server with similar setup, I get numbers 1 to 10, which is the correct result. Is jstl clashing with dspace's own tag lib? How can I make jstl work inside dspace? My dspace version is 1.5.0. Any expert could show me the way to do it, or give a comment? Thanks. Allen. HKU Hub Administrator, http://hub.hku.hk ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

