Eric Sheridan gmail.com> writes:
>
> List,
>
> I am developing an application that programmatically leverages the
> Apache Jasper JspC facilities to translate JSP source files into their
> Java (Servlet) equivalents. For this application, I need to be able to
> translate a Java line number back
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark and Eric,
On 3/15/2011 5:14 AM, Mark Thomas wrote:
> On 14/03/2011 20:53, Eric Sheridan wrote:
>> SmapParser parser = new SmapParser(inputStream);
>> Smap smap = parser.parse();
>> int jspLineNumber = smap.getJspLineNumber(javaLineNumber);
>>
>>
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 look
/* org.apache.jasper.JspCompilationContext implements either of 2 JSP
Compilers in TC7 */
if (options.getCompiler() == null) {
jspCompiler =
createCompiler("org.apache.jasper.compiler.JDTCompiler");
if (jspCompiler == null) {
jspC