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 translate into servlet

 
Lalit mishra
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we remember which class is implemented or extended or imported by a jsp file
when a jsp file is translated into a servlet? does exam contains question on this ?
 
Collins Mbianda
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lalit !!!
I'm preparing for the exam. I don't think we need to know thoses classes.
In HFSJ(page 303), you'll read this:

The Container generates a class from your JSP that implements the HttpJspPage interface. This is the only part of the generated servlet's API that you need to know.
....
All you need to know about are key methods:
  • jspinit()
  • jspDestroy()
  • _jspService()

  • Good luck.
     
    Christophe Verré
    Sheriff
    Posts: 14691
    16
    Eclipse IDE Ubuntu VI Editor
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    jspinit() -> jspInit()
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic