试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题