多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

Click the Exhibit button. As a maintenance feature, you have created this servlet to allow you to upload and remove files on yourweb server. Unfortunately, while testing this servlet, you try to upload a file using an HTTP request and onthis servlet, the web container returns a 404 status. What is wrong with this servlet?()

  • A、HTTP does NOT support file upload operations.
  • B、The servlet constructor must NOT have any parameters.
  • C、The servlet needs a service method to dispatch the requests to the helper methods.
  • D、The doPut and doDelete methods do NOT map to the proper HTTP methods.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题