facebook

JSP Editor display problem with javascript

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

    Matt Bucknam
    Participant

    I have some code that doesn’t get handled correctly in the JSP editor window. I don’t want to waste a lot of space in this post by pasting the entire file but it happens when I use a for loop like: for (k=0; k<numRow; k++) — All of the text after the ‘<‘ turns red.

    I can paste more of the code or email it if necessary.

    Thanks.

    BTW: Great product. Definitely going to subscribe when trial over.

    #197230 Reply

    Scott Anderson
    Participant

    Well, I tried pasting the code into one of my test JSP pages, but I couldn’t replicate the reported behavior. Could you see if you can cut the JSP down to the smallest possible size that exhibits the behavior and then email it to us at [email protected]. I’ll post what we find out to this thread.

    BTW: Great product. Definitely going to subscribe when trial over.

    Thanks, glad you’ll be joining us. But, why wait? I know it’s human nature, but it’s only $30. 🙂

    –Scott
    MyEclipse Support

    #197287 Reply

    No Operation
    Member

    try to embedd your java script within HTML comment tags:

    <script>
    <!–
    if (a < b) …
    –>
    </script>

    NOP

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP Editor display problem with javascript

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