Very new to Java (debating on whether to use java instead of MS products) -
so here's my general question.
In asp.net you have apsx (with code behind) pages and can call classes (if
you want) to perform business logic, etc. Only classes and the code behind
are compile. With JSP, I think, you can have classes within the page and
also uses inbedded code with html and it is completely complied. Using the
term "compiled" as it is meant in both java and .net) Am I wrong on any of
this?
Thanks
Larry - 18 May 2006 19:49 GMT
The JSP code is generated to a servlet (a type of Java class), and then
compiled. The compiled Servlet file is what runs when the the JSP page
is requested, and it in turn can call other compiled classes on the
applicaiton server.