JSP special variable parsing is not working in IntelliJ 9.0: out.println

Hi. I have IntelliJ thinking that "out.println" is not a valid method. "println" is in red.
Is this a configuration issue or IntelliJ issue?
Also, if someone knows how to make IntelliJ understand that println is a valid method in JSP, that would be appretiated.

2 comments

That should work, there's a "println()" method on "javax.servlet.jsp.JspWriter".

Do you have the "jsp-api" jar configured as a library?
If you're using maven, you'd need something like:
----------------------

        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.0</version>
            <scope>provided</scope>
        </dependency>
----------------------



Hope that helps,
-tt
0

Solved this by including (root where tomcat installed)/lib in my library as a jar directory.

0

Please sign in to leave a comment.