вс, 30 мая 2021 г. в 11:45, Pietro Braione <pietro.brai...@unimib.it>:
>
> Hello to everyone. I am working on a bytecode analyzer, and in order to test 
> it I fed it by a _jsp.class file generated by Apache Tomcat 10.0.2 from a 
> trivial JSP page. [...]
>
> I would like to ask where is the Tomcat code that is responsible for emitting 
> the _jsp.class files.

Citing from the NOTICE file:

Java compilation software for JSP pages is provided by the Eclipse
JDT Core Batch Compiler component, which is open source software.
The original software and related information is available at
https://www.eclipse.org/jdt/core/.

For Apache Tomcat 10.0.6 that is lib/ecj-4.18.jar

Jasper (the component of Tomcat that is responsible for processing of
JSP pages) can also be reconfigured to use the javac compiler from a
JDK, but it is a rarely used feature. (I wonder if anyone is using it
at all).

http://tomcat.apache.org/tomcat-10.0-doc/jasper-howto.html

Best regards,
Konstantin Kolinko

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

Reply via email to