facebook

JSP Fragment validation

💡
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. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #263888 Reply

    solmyr72
    Member

    Hi,

    We’re using MyEclipse for JSP development.
    Generally, we’re very satisfied with the IDE 🙂

    However, we’re having problems with statically-included JSP fragements (JSPF).
    When MyEclipse finds an error in the JSPF, the error is reported in the ‘higher level’ JSP (the one which includes the fragement).
    But it seems like MyEclipse won’t tell you *the exactl line* where the error occured , within the JSPF.
    This is a major problem for us, since we’ve just been requested to maintain an existing systme , which has some *huge* JSPF files.

    Example:

    
    Header.jspf:
    ------------------
    This is my header fragement, with some typo spelling 'random':
    Header  <%=  Math.rANdOom()  %>
    
    
    Index.jsp:
    ------------------
    <html>
    This is my main page, with a statically-included header:
    <%@ include file="/Header.jspf" %>
    Some more stuff...
    </html>
    
    

    When typing this example, i’d see an error message for ‘index.jsp’ (the ‘include’ line is marked red, with an appropriate error message).
    But I can’t see any indication that would tell you the exact faulty line inside ‘Header.jspf’ .

    Thanks.

    #263946

    Riyad Kalla
    Member

    We have done fixes over time to improve this, but if you have a particular use case that could help us refine it farther we would appreciate it.

    Can you create a small web project example that builds correctly but exhibits this problem and email it to me at support@genuitec.com ATTN Riyad with a link to this thread so I know why I’m getting it?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Fragment validation

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