tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Read JSR 045 SMAP Files Produced by Jasper
Date Tue, 15 Mar 2011 09:14:42 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message