title: JSP and HTML parser for JAVA
body: <p>I have been using Jsoup for parsing my HTML files and so far it does a great job. However, it's not able to parse any server tags ( &lt;%  ... %> ). I decided to extend it but I cannot find an easy way to extend its <a href="http://jsoup.org/apidocs/org/jsoup/parser/Parser.html" rel="nofollow">Parser</a> and all those private/package level classes (i.e. TreeBuilder, TransitionState ... etc)...</p>
  
  <p>So I started looking at <a href="http://jericho.htmlparser.net/docs/index.html" rel="nofollow">Jericho</a> as it claims it can parse server tags - however, its documentation is so poor that I cannot even get started easily. And seems like its API is not as friendly as what Jsoup provides - it's not that straight forward to extract some nodes and move it around ...</p>
  
  <p>I wonder if anyone has the similar situation before and how you get it solved? In short, I just want to parse JSP files in Java. (Well .. please don't ask me to implement one by myself ;p )</p>