deepak carter wrote:
we can do it but we should not do it.Can you explain me why we should not do it.
and second question is why exception are throw i mean to say
suppose we create a servlet in that we write doget method like this
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException
{
i mean to say why we are throwing ServletException....which thing is causing to throw ServletException
deepak carter wrote:
In catch block i have passed Exception.
we can do it but we should not do it.Can you explain me why we should not do it.
deepak carter wrote:
and second question is why exception are throw i mean to say
suppose we create a servlet in that we write doget method like this
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException
{
deepak carter wrote:
why its not possible
public void doGet(Http..........)
deepak carter wrote:
why its not possible
public void doGet(Http..........)
without using throws ServletException
deepak carter wrote:suppose i write this
clas Test
i have spelled class wrong...
is it a exception
if yes then what kind of
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|