facebook

JSP 2.0 EL unavailable

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

    erjablow
    Member

    I am using MyEclipse 5.5, and I have somehow put a project into the fiollowing state: JSP 2.0 EL expressions are ignored. I’ve created a tag file, menu.tag, which announces an attribute ‘label’. The expansion of <tags:menu label=”File”> should be

    
    <li>
      <a href="#">File</a>
    </li>
    

    Because the definition is

    
    ...Declarations...
    <li>
      <a href="#">${label}</a>
    </li>
    

    However, the ${label} is taken literally. I needed to replace it with <%=label%>.

    In new projects, JSP 2.0 EL works. Worse, I can’t use the JSTL effectively with my old project, and I don’t know what settings I should make to change this behavior. I’m getting the J2EE 1.4 libraries. Please help.

    #281101 Reply

    erjablow
    Member

    I upgraded it to 2.4, and it worked, of course. Sorry to take up your time.

    #281131 Reply

    Loyal Water
    Member

    Glad you got it to work. Thanks for letting me know.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP 2.0 EL unavailable

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