How should response content type for documents be specified in order to work consistently across browsers?

前端 未结 2 1580
眼角桃花
眼角桃花 2020-12-20 01:05

I\'m developing a simple servlet that should serve documents via http. I use URLs in the form of /getDocument?fileId=1234. The servlet simply 1) sets response.contentType an

2条回答
  •  清歌不尽
    2020-12-20 01:29

    I'd recommend checking on a second machine, and also make sure that you have properly installed Acrobat Reader (in Mozilla, "about:plugins" gets you to the plugin registry).

提交回复
热议问题