We help IT Professionals succeed at work.

servlet service metho

gudii9
gudii9 asked
on
Hi,

I wonder why the servlet service() method alwasy has 'throws IOException, ServletEXception'

Please advise
Comment
Watch Question

Sr. Software engineer
Commented:
It throws a java.io.IOException if an input or output error occurs while the servlet is handling the HTTP request
It throws a ServletException if the HTTP request cannot be handled

Author

Commented:
It throws a ServletException if the HTTP request cannot be handled

what it means by HTTP requesat cannot be handled. in which cases it cannot be handled. please advise
zzynxSr. Software engineer

Commented:
Thanx 4 axxepting