facebook

Warnings using JSTL and Beans

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

    James Camire
    Member

    I receive a warning from the JSP validator (“The local variable order is never read”) that I wasn’t receiving in 4.1.1. As you can see from the code below, the variable is being read. Is there any way to shut off just this portion of the validation? I want to continue to use JSP validation without the 100 warnings I’m receiving for this.

    Thanks,

    James

    <jsp:useBean id=”order” class=’com.siliconmtn.common.html.NumberSelectList’ />
    <jsp:setProperty name=”order” property=”end” value=”25″ />
    <jsp:setProperty name=”order” property=”listName” value=”orderNumber” />
    <c:set target=”${order}” property=”selected” value=”${data.orderNumber}”/>
    <c:out value=”${order.selectList}” escapeXml=”false”/>

    #257755 Reply

    Riyad Kalla
    Member

    James,
    This is a bug and has been filed, sorry for the annoying/wrong warnings.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Warnings using JSTL and Beans

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