On 14/03/2011 20:53, Eric Sheridan wrote:
> SmapParser parser = new SmapParser(inputStream);
> Smap smap = parser.parse();
> int jspLineNumber = smap.getJspLineNumber(javaLineNumber);
> 
> Does any such code exist? If so, would you mind pointing me to
> it? If not, any alternative solutions to looking up the original JSP
> line number given that I am working with Apache Jasper?

Not that I can think of, but that could be a valuable feature for Jasper
if you were interested in writing a patch. See [1] for more background.
There would be several benefits to being able parse SMAP info.

Mark


[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=49176

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to