This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: Problem in compiling JSP on jBoss 5.0.0.GA - it works onrogerio.baldini Dec 11, 2008 8:26 AM (in response to rogerio.baldini)This simples JSP doesn't work.... <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <c:set var="p1" value="test1"/> <c:set var="p2" value="test2"/> <c:out value="${p1}" /> <c:out value="${p2}" /> <c:set var="p3" value="${p1}${p2}"/> <c:out value="${p3}" />
 What am I doing wrong ???
 I can't imagine it's a bug.....
 Thanks,
 Rogerio
- 
        2. Re: Problem in compiling JSP on jBoss 5.0.0.GA - it works onssilvert Dec 12, 2008 6:44 PM (in response to rogerio.baldini)I'm not sure why you got that error. 
 Maybe because you have the tld in /WEB-INF/c.tld? JSTL is built in to JBossAS.
 So this will work:<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
 Also, you need to make sure you use the Servlet 2.5 declaration in web.xml:<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> 
 Stan
- 
        3. Re: Problem in compiling JSP on jBoss 5.0.0.GA - it works onrogerio.baldini Dec 13, 2008 4:26 PM (in response to rogerio.baldini)It worked... 
 Thanks.
 Rogerio
 
    