Forums Register Login

Servlets and JSPs

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
a fool thinks himself to be wise, but a wise man knows himself to be a fool - shakespeare. foolish tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 318 times.
Similar Threads
a jsp design question...
servlet with JDBC
servlet with JDBC
Learning Servlet and JSP
should i go for SCWCD
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 21:41:40.