I think that Sun engineers chose this approach because of its simplicity. It is trivial to generate servlet java source file from jsp. And then they just use standard compiler. They do not care about low level compiler stuff, they just reuse existing components. Classical KISS - keep it simple, stupid.
Why Jsp pages are not directly converted to bytecode?
-
19-07-2023 - |
Pregunta
Jsp pages are first converted to *.java files and then this source file is compiled and executed by the container. why can't we use some byte code engineering libraries to make the class files directly?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow