This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets and JSPs  RSS feed

 
Micheal Smith
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have been given an assignment on Servlets and JSPs and amongst the questions there are the following two theoretical qustions:

1. Describe precisely how and when Java bytecodes are generated for:

(a) Servlets
(b) JSPs

2. The lifetime (persistance in memory) of Servlets and JSPs

Can anyone guide me on how these should be answered please!

Thanks alot
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find a complete description of the lifecycle of a servlet and a JSP in the servlet and JSP specifications. You can download them from www.jcp.org.

If you have access to a copy of Head First Servlets and JSP, it has a really good description as well.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scott gave you some good references. You'll find many others if you search around.

Be aware that giving out answers to homework assignments is not allowed on JavaRanch.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!