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 +0000 Mark Thomas <[email protected]> wrote: > On 27/01/2015 11:36, t-zhang wrote: > > Hi guys > > > > I am looking for a tool which can parse the JSP code(parse and generate > > the AST) > > Why? What problem are you trying to solve? (There may be a better solution). > > Mark > > > > 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 maybe because of I can't import > > org.apache.jasper.compiler.Node to my project. > > > > Best Regards > > > > Tao Zhang > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
