facebook

JSTL not recoganized

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #351306 Reply

    eugenejsn
    Participant

    ME Blue 14
    Linux
    JDK 1.7
    JBoss AS 1.7.1 Servelet Container 3.0 JSP 2.2

    Created Web Project –> Java Build Path –> Libraries –> Add Library –> MyEclipse Library –> JSTL 1.2.1

    On A JSP

    <%@taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core&#8221; %>

    <c:set var=”salary” scope=”session” value=”${2000*2}”/>
    <c:out value=”${salary}”/>

    It failed on
    <%@taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core&#8221; %>

    No error message available.

    Please help.

    Thanks

    Eugene

    #351320 Reply

    support-swapna
    Moderator

    Eugene,

    You do not have to add JSTL libraries manually. In the New Web Project wizard, you can select JSTL version in the Project Configuration section.

    I could not replicate the issue at my end on JBoss AS 7.1.1. I assume you are working with JBoss AS 7.1.1 and mistakenly mentioned JBoss AS 1.7.1. The JSTL tags are rendered correctly in the output.For JavaEE 7 project, the JSTL version is 1.2.2. While I see no issues with JSTL 1.2.1 added to JavaEE 7 project, please check if you see the same issue with JSTL 1.2.2.

    Please elaborate on what exactly you mean when you say it failed. Please share the entire error details with us. Please prepare a sample project which exhibits the issue and send it to help us replicate the issue at our end.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSTL not recoganized

You must be logged in to post in the forum log in