How to use Jasper to Parse JSP

2015-01-27 Thread t-zhang
Hi guys I am looking for a tool which can parse the JSP code(parse and generate the AST) If anyone use Jasper to parse the JSP, Could you share your experience to me? I guess the class "org.apache.jasper.compiler.Parser" in Jasper is able to generate the AST. But I can't get the Return Value ma

Re: How to use Jasper to Parse JSP

2015-01-29 Thread t-zhang
Thanks for your reply. I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not enouth. So I need a better JSPparser and I want to try Jasper as a parser. Best Regards Tao Zhang On Tue, 27 Jan 2015 11:56:42 + Mark Thomas wrote: > On 27/01/2015 11:36, t-zhang wrote: >

Re: How to use Jasper to Parse JSP

2015-02-03 Thread t-zhang
wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Zhang, > > On 1/29/15 7:22 AM, t-zhang wrote: > > I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not > > enouth. So I need a better JSPparser and I want to try Jasper as a > > p