How does Tomkat compile JSP?

  • 0
    Good afternoon.
    Can you please tell me how tomkat compiles jsp into class files? Interested in exactly how he does it technically?
    Translates code to Java and then calls javac? But there seems to be no javac in the JRE. In general, how?
    Java Rosalie Snyder, Apr 10, 2019

  • 2 Answers
  • 0
    mvnrepository.com/artifact/tomcat/jasper-compiler-jdt


    With this thing he compiles, emnip. No javac will run of course.
    Anonymous

  • 0
    Tomcat is open source, download the source and take a look.
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!