Bug in JSP error reporting

Dunno if this has been reported before, but IDEA seems to not like this
perfectly legal line:

<% request.getParameter("blabla"); %>

it tells me getParameter cannot be resolved and displays it in red. But
if I run the file everything is fine.

Linux, RedHat 7.3, IDEA #621, IBM JDK

R

2 comments
Comment actions Permalink

Robert,

It seems that you have no servlets.jar in your classpath.

--
Best regards,
Mike Aizatsky.
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Robert S. Sfeir" <robert@sfeir.net> wrote in message
news:3CE26AD1.8040509@sfeir.net...

Dunno if this has been reported before, but IDEA seems to not like this
perfectly legal line:

>

<% request.getParameter("blabla"); %>

>

it tells me getParameter cannot be resolved and displays it in red. But
if I run the file everything is fine.

>

Linux, RedHat 7.3, IDEA #621, IBM JDK

>

R

>


0
Comment actions Permalink

DUH... I thought I did but forgot to add the library. Thanks for
pointing that out.

R

Mike Aizatsky wrote:

Robert,

It seems that you have no servlets.jar in your classpath.

--
Best regards,
Mike Aizatsky.
------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Robert S. Sfeir" <robert@sfeir.net> wrote in message
news:3CE26AD1.8040509@sfeir.net...

>>Dunno if this has been reported before, but IDEA seems to not like this
>>perfectly legal line:
>>
>><% request.getParameter("blabla"); %>
>>
>>it tells me getParameter cannot be resolved and displays it in red. But
>>if I run the file everything is fine.
>>
>>Linux, RedHat 7.3, IDEA #621, IBM JDK
>>
>>R
>>



0

Please sign in to leave a comment.