facebook

Odd JSP Editing Errors

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225663 Reply

    For some reason, when I’m modifying a JSP file (not always, only occasionally), when I type, the editor seems to try to treat each keystroke as a command. It attempts to process each keystroke for a split second, but doesn’t write the output to the screen. When this happens, I’ve gone to other Java files and they aren’t affected. If I close and reopen the JSP file, it’ll be fine.

    What I’ve noticed is that after typing a letter, if I move the cursor up a line, then the keystroke change I made will be shown. If I try to press DEL, then I get this error: “The command for the key you pressed failed.” However, if I move the cursor up a line, then the appropriate character is deleted. Another oddity is that, if I type a string of characters w/o pausing, when I move the cursor up a line, the word is inserted backwards.

    I’ve only been using MyEclipse for 2 wks, but have had this problem 5 or 6 times. It’s quite annoying. I’m not sure if I hit some special key combination that tells the editor to listen for other keystrokes or not, but I wish this would stop. Any help is greatly appreciated. Thanks.

    #225665 Reply

    henk
    Member

    You’re reporting a lot of the same behaviour I’ve been seeing too for the last few months. Especially “The command for the key you pressed failed.” In my situation it’s usually “The command for the key you pressed failed because the command for the key you pressed failed.”

    I’m not really sure what triggers this but it seems to be related to the pattern (in a jsp file):

    Declare variable Q
    static include .jsp (not .jspf!) that used variable Q
    other jsp code

    In this situation it seems like the jsp editor is not picking up the variable Q for validating the static jsp include and tags the entire include as one big error. This situation seems to break a lot of the editing functionality after the include.

    I’m suprized though that this bug hasn’t been fixed before. Reports have been comming in for at least a few months, but during all this time very little has been improved.

    MyEclipse itself is a fine product, but I really hope these jsp editor bugs get fixed sometime soon.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Odd JSP Editing Errors

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