• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlets and JSPs

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic