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
答案解析:有

微信扫一扫手机做题