How can I disable "term expected" checking in JSP files

Our application at times uses Ajax to dynamically set CSS properties client side. As a result, our JSP files at times use "@" signs to mark these dynamic regions which are later regex'ed on the client side.

IntelliJ doesn't like this at all. e.g. ]]>. Looks like the intellij parser is complaining that a "term is expected", probably becasue "@" aren't legal characters for a CSS value.

Anyone have any idea how to turn off this check or worst case, I wouldn't mind turning off the error checking for "*.jsp" files since we are using JSP in a non-traditional way (we are using it to faciliate Ajax development).

Please sign in to leave a comment.