How to create rule for method invocation

133 Views Asked by At

I'm creating a rule to check if two methods get invoked. It will get non-compliant if sendRedirect() method gets invoked after the getParameter() method.

String location = req.getParameter("url");
resp.sendRedirect(location);

Thanks.

0

There are 0 best solutions below