About Question enthuware.jwpv6.2.1023 :
Posted: Sat Oct 08, 2011 11:56 am
The code does not compile. The doGet method should either declare IOException or both lines of code should be enclosed in try-catch block.
res.getWriter() and res.sendError(...) throw IOException
res.getWriter() and res.sendError(...) throw IOException