facebook

Errors in JSPs with Includes

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

    joegaber
    Member

    I am following a tutorial that has me create an include.jsp page with just small bit of text as the content. The line below is added to two other jsp pages. MyEclipse is showing an error, but doesn’t tell me what it is. The following line is highlighted in red in each of the jsp pages using it:

    <%@ include file=”/WEB-INF/jsp/include.jsp” %>

    The application compiles fine and runs, including the “include”.

    Why does my editor show a compiler error?

    #215039 Reply

    Riyad Kalla
    Member

    Joe,
    We don’t do any “highlighting in red”, are you sure you are using the MyEclipse JSP Editor? Try and right click > Open With and make sure that its the default editor.

    If it is then: is there an error marker in the left or right margin? Is there anything in your problem view? What are your problem view filters set to (little down arrow in top right corner of problems, go to Filters…) also what version of Eclipse/MyEclipse are you using? Is this a Java Project or Web Module Project?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Errors in JSPs with Includes

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