facebook

Problem: javax/servlet/jsp/el/VariableResolver

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #202322 Reply

    bainfu
    Member

    When I save my jsp file I get this problem from MyEclipse javax/servlet/jsp/el/VariableResolver on line 0?

    When I run the jsp in question I get this…

    exception
    org.apache.jasper.JasperException: /index.jsp(28,2) According to TLD or attribute directive in tag file, attribute startRow does not accept any expressions

    anyone run into this problem, or know what’s wrong?

    This is the line in question:

    <sql:query var=”prods” startRow=”${param.row}” maxRows=”${numRows}”>
    …..
    </sql:query>

    #202323

    bainfu
    Member

    Sorry I just read the Posting Guidelines

    OS: Mac OS 10.3
    Eclipse: 3.0 M4 Installed Freshly for MyEclipse
    No other plugins are installed…

    I haven’t tested this behaviour on Eclipse 2.1 maybe I should get to that… 🙂

    #202324

    Riyad Kalla
    Member

    Can you take a look at this thread:
    https://www.genuitec.com/forums/topic/jsp-editor-problems-with-jstl-closed/&highlight=variableresolver

    The gist seems to be that you are probably using the default J2EE 1.3 libraries in your project while the use of expressions is a JSP 2.0/Servlet 2.4 spec feature. So you may need to remove the J2EE 1.3 library from your project and point to the servlet-api.jar and jsp-api.jar JARs from your Tomcat 5 installation (add them to your project).

    Does this fix the problem?

    #202385

    bainfu
    Member

    fixed the exception in tomcat.

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

    was changed to…

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

    When is support for the j2ee 1.4 spec going to be incorporated into MyEclipse? The roadmap doesn’t say.

    #202390

    Riyad Kalla
    Member

    I requested it be added, hopefully for 2.7 GA, but surely soon after if not in 2.7 GA.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem: javax/servlet/jsp/el/VariableResolver

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