-
Architectural Pattern and Design Pattern
What are the similarities between an architectural pattern and design pattern.
-
-
why we need web container to Deploy the servlet or jsp ?
i.e Why we can not run the application like simple java program
-
-
-
What is the need of an abstract class?
If I write all of concrete methods in one class and all abstract methods in an interface and extend and implement both in third class assume that third class don't extend any other class?
-
-
-
-
-
How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default?
One should be very careful when having JSP pages extend custom servlet classes as opposed to the default one generated by the JSP engine. In doing so, you may lose out on any advanced optimization that may be provided by the JSPengine. In any case, your new superclass has to fulfill the contract with the JSPngine by: Implementing the HttpJspPage interface, if the protocol used is HTTP, or implementing...