facebook

Problems with Comments in JSP

💡
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #259224 Reply

    ChuckMoore
    Member

    I’m unsure if you have had this one logged before. I’m using MyEclipse 5.0GA build 20060508 and am having some problems with inserting comments into jsp pages. when I try to use a comment, either <!– or <%– style, the IDE flags up an error. It’s as if it thinks there are some extra characters there somewhere. Version 3.2.0 M20060629 is the Eclipse IDE version.

    Below is a screen shot. This is a generated Web Project with no jstl or jsf capablility. The same occurs if I add the capablility. Also, you will note in the snapshot that this is a comment surrounding the <link> tag that was generated by Eclipse. It is ok. If I save the file it doesn’t go away. If I close file and re-open errors go away but come back as soon as I try another comment.

    I’m hoping you have a quick answer. I have included a snap of the libraries on the left hand side in case there is something untowards there.

    – System Setup ——————————-
    Operating System and version:
    Eclipse version: 3.2
    Eclipse build id: as above
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 5.0GA
    Eclipse JDK version: 1.5.0.08
    Application Server JDK version: same
    Are there any exceptions in the Eclipse log file? no

    #259225

    ChuckMoore
    Member

    I should proof read before posting. In some cases, I was a bit vague. The comments surrounding the <link> tag were generated, have no issues and flag up no errors. Other comments that I add later, flag up the errors and it’s those errors that go away when I exit and re-open the file. Clear?

    #259730

    Riyad Kalla
    Member

    Chuck,
    I have to appologize for the huge lag before replying, this flew under my radar. Does this basically refer to a situation where the validation in the left margin or right margin are not refreshed without reopening the editor properly? We are aware of a few situations where errors in the right margin are not being refreshed properly.

    #272560

    erv832
    Member

    I am having the same problem (on a mac). It sounds like what you are describing, Riyad, is the same issue. When this occurs, if I close and reopen the editor, the errors are gone. It is not just the margins that show the error. The code is marked with red squiggly lines (indicating an error) and content assist ceases to work.

    #272587

    Riyad Kalla
    Member

    erv832,
    Which version of MyEclipse are you using? (You can find it under MyEclipse > Installation Summary)

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problems with Comments in JSP

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