Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Translation

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Does JSP translation also includes compilation?? or only syntax xhexking and conversion to a jsva file??
 
NDP Prasad
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is compilation included in the Translation?
 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think compilation is part of translation
 
Rancy Chadha
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jothi,

only syntax xhexking and conversion to a jsva file??

I think you meant - only syntax checking and conversion to a java file???

The answer can be found in specs as:
From JSP.1.1.4 - "In the translation phase, the container validates the syntactic correctness of the JSP pages and tag files and determines a JSP page implementation class that corresponds to the JSP page."
From JSP.1.1.9 - "A JSP page can also be compiled at deployment time."

I hope this answers your question
 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

From JSP.1.1.4 - "In the translation phase, the container validates the syntactic correctness of the JSP pages and tag files and determines a JSP page implementation class that corresponds to the JSP page."


Rancy ,
From the above point what should we interpret.It is only Translation or Since class is mentioned there - Does it include compilation also?
and the second point

From JSP.1.1.9 - "A JSP page can also be compiled at deployment time."

is only telling that we can make our web application ready in every sense means - Since a JSP file is translated and compiled into a servlet class on the first request,instead of that we can make all JSPs converted into class files using some third party libraries and deploy our application so as not to make even the first request slow.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic