Can I export pictures by exporting Excel using jsp_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:41:29
Original
1405 people have browsed it

What is now used is to set the header file in JSP
response.setContentType("application/vnd.ms-excel;charset=UTF-8");
response.setHeader("Content-Disposition", "attachment;filename=" new String(filename.getBytes("GBK"), "iso8859-1"));
Then you need to add


${vo.wbxmmc}(Provided by our company)

The picture is not displayed because The image is on the server. How can I display the image? Thank you


Reply to the discussion (solution)

I don’t understand this problem. The image path on the page Aren’t they all from the server? It’s okay to sit and wait for answers downstairs

, but I don’t understand why you wrote it like that above.


Reference:

Use jxl to export pictures to excel.

http://blog.csdn.net/wugouzi/article/details/12951241

Yes, but I don’t understand why you wrote it like that above.


Reference:

Use jxl to export pictures to excel.

http://blog.csdn.net/wugouzi/article/details/12951241



I want to download the entire HTML and go directly to the jsp settings. Your form seems to have to set everything up


Yes. Yes, but I don’t understand why you wrote it like that above.


Reference:

Use jxl to export pictures to excel.

http://blog.csdn.net/wugouzi/article/details/12951241



I want to download the entire HTML and go directly to the jsp settings. It seems like you have to set up everything in the form

Well,,, this is for data Yes, the download is just like the excel you usually see, column by column.
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template