facebook

JSP Compilation Problem

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220838 Reply

    Hi –

    We have a jsp that takes 8+ hours to compile. This problem showed up with MyEclipse 3.8.2 but was not an issue in 3.8.1. When th compile of the jsp finally finishes, there are hundreds of errors about an invalid jsp param (sorry do not have actual message because it happened for a different person who did not write down the exact error).

    After some experimentation, I have found what is triggering the exceedlingly long compile. Here is the problem JSP fragment.

    <jsp:include page=”/portal/jspf/header.jspf”>
    <c:choose>
    <c:when test=”${errorHandlingHelper.consistentState}”>
    <jsp:param name=”showNavigationButtons” value=”true”/>
    </c:when>
    <c:otherwise>
    <jsp:param name=”showNavigationButtons” value=”false”/>
    </c:otherwise>
    </c:choose>

    <jsp:param name=”selectedButton” value=”updateProfile”/>
    </jsp:include>

    #220839 Reply

    (oops submitted before I was done)

    Here is the reworked fragment that compiles…

    <c:choose>
    <c:when test=”${errorHandlingHelper.consistentState}”>
    <jsp:include page=”/portal/jspf/header.jspf”>
    <jsp:param name=”showNavigationButtons” value=”true”/>
    <jsp:param name=”selectedButton” value=”updateProfile”/>
    </jsp:include>
    </c:when>
    <c:otherwise>
    <jsp:include page=”/portal/jspf/header.jspf”>
    <jsp:param name=”showNavigationButtons” value=”false”/>
    <jsp:param name=”selectedButton” value=”updateProfile”/>
    </jsp:include>
    </c:otherwise>
    </c:choose>

    I can give you the entire jsp file if you need it. Here are the rest of the details about our systems.

    Windows 2000 and Windows XP
    Eclipse Version: 3.0.1, Build id: 200409161125
    Fresh install of MyEclipse and Eclipse
    No other plugins besides MyEclipse
    There are noplugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    MyEclipse 3.8.2
    JDK 1.4.2_03 for Eclipse and JRun4 app server
    Just compile (or validate) jsps for my web project to reproduce
    We are using the JRun4 app server
    There is nothing in the Eclipse log file related to this problem.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Compilation Problem

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