Menu

#493 jsp manual string manipulation

open
nobody
rules (229)
5
2012-10-07
2007-10-14
SAKTHI31
No

Hi,

In JSP support notes, it is mentioned that to write rules to check Java code inside scriptlets, you need to manually manipulate string.

I'm trying to write a rule which looks for any System.out.print and throws a violation.

My program could find the SOP, but how do I add violation to the report(addviolation in AbstractRule class takes node and data)?

Thanks in advance,
Sakthi

Discussion


Log in to post a comment.