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

Translation phase

 
Yogesh Hingmire
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends,

Is servlet class loading a part of the JSP Translation phase.

I have read varied opinions on this.

Thanks,
Yogesh
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the jsp life cycle is -

translation --> .jsp to .java
compilation --> .java to .class ( here after it behave just like a servlet)
load class
instantiate --> constructor runs
jspInit()
jspService()
_jspDestroy()

hth
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Niranjan Deshpande:
the jsp life cycle is -

translation --> .jsp to .java
compilation --> .java to .class ( here after it behave just like a servlet)
load class
instantiate --> constructor runs
jspInit()
jspService()
_jspDestroy()

hth


caution here, it's :
jspInit()
_jspService()
jspDestroy()
 
halena chen
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Max Fernandes:


caution here, it's :
jspInit()
_jspService()
jspDestroy()




Why caution here:
jspInit()
_jspService()
jspDestroy()
?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic