servlet service metho

Hi,

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

Please advise
LVL 7
gudii9Asked:
Who is Participating?
 
zzynxSoftware engineerCommented:
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
0
 
gudii9Author 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
0
 
zzynxSoftware engineerCommented:
Thanx 4 axxepting
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.