On 11/09/2015 10:06, 侯树成 wrote: > Hi Kaori, > May be you need write a parser manually. Use JavaCC or Antlr will help you > complete it. > You can define your custom syntax checker.
Or just use what Tomcat already provides... org.apache.japser.compiler.Parser org.apache.japser.compiler.JspDocumentParser Mark > > > 2015-09-10 13:49 GMT+08:00 Mark Lovatt <markmlov...@gmail.com>: > >> Hi Kaori >> >> I don't know a parser for traditional jsp but if you use jspx then you can >> use any xml parser or the JspDocumentParser provided by Apache. >> >> Kind regards >> >> Mark Lovatt >> markmlov...@gmail.com >> uk.linkedin.com/in/mmlovatt >> >> Sent from my iPhone >> >>> On 10 Sep 2015, at 06:25, 八反田 香莉 <k-hatta...@nri.co.jp> wrote: >>> >>> Hello, >>> >>> I want to make the JSP code analysis tool. I'm looking for a parser for >> that >>> For example , when I write a JSP source code using Eclipse, >>> it's tool can check if there is any specific description. >>> But , there is no appropriate parser of JSP that can be used for such >>> purposes .I require as possible ready-to-use parser tree of JSP. >>> Can I use parser of Jaspar for such a purpose ? >>> >>> Best Regards >>> Kaori >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org