I have a doubt in Scriptlet if we are writing a code in scriplet i.e is a java code can we write a method inside a Scriptlet and if yes then that method will be in _jspservice() then is it possible have method inside a method???????
The Finally Block always executes when the try block exits. This ensures that the Finally Block is executed even if an Unexpected Exception occurs. But Finally is useful for more than just Exception Handling — it allows the programmer to avoid having cleanup code accidentally bypassed by a...
A servlet life cycle is
init(),service() and destroy() methods
for every servlet there will be one servletConfig and for every container there will one servlet context
when you deploy a web based app, servlet container reads the deployment...