JSP import problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #16
    Originally posted by JosAH
    Ok, so we skip the editor for now as a cause (download vim instead!). Do your
    JSPs work when you use separate import statements, one for each package?
    (note that you never need to import java.lang.*, i.e. it's "self-imported" by javac).

    If separate import statements do work, you're most probably facing a bug in
    the JSP compiler. Which one are you using and what version?

    kind regards,

    Jos
    I think they said the problem is resolved now Jos.
    Said it was a missing keyword somewhere and so the problem had nothing to do with the import statements.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #17
      Originally posted by r035198x
      I think they said the problem is resolved now Jos.
      Said it was a missing keyword somewhere and so the problem had nothing to do with the import statements.
      I still consider that a bug in the JSP compiler. If somewhere else a keyword is
      missing the imports goof up without a warning or whatever. It once again shows
      why I don't like that entire web mess ;-)

      kind regards,

      Jos

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #18
        Originally posted by JosAH
        I still consider that a bug in the JSP compiler. If somewhere else a keyword is
        missing the imports goof up without a warning or whatever. It once again shows
        why I don't like that entire web mess ;-)

        kind regards,

        Jos
        Yeah the generated code should have the import statements right for the final class to be created correctly. Unless there's another file somewhere with the correct code ...

        Comment

        Working...