如何使用java从.shtml下载图像?

时间:2021-03-02 03:38:19

I have a problem with downloading images from web-pages using java - it all works fine except for .shtml pages. Any idea? I can get the page's source but cannot download images from it. Thanks for all opinions in advance.

我在使用java从网页下载图像时遇到问题 - 除了.shtml页面外,一切正常。任何的想法?我可以获取页面的源代码但无法从中下载图像。感谢所有意见提前。

1 个解决方案

#1


0  

The shtml extension won't effect how you download the data. It just indicates that the webpage has server side included content.

shtml扩展名不会影响您下载数据的方式。它只是表明该网页包含服务器端内容。

There must be something else with the webpage that is tripping your up, unrelated to the extension. What this is can't be determined from the amount of information provided.

网页上必须有其它内容可以绊倒您,与扩展程序无关。这不能从提供的信息量中确定。

#1


0  

The shtml extension won't effect how you download the data. It just indicates that the webpage has server side included content.

shtml扩展名不会影响您下载数据的方式。它只是表明该网页包含服务器端内容。

There must be something else with the webpage that is tripping your up, unrelated to the extension. What this is can't be determined from the amount of information provided.

网页上必须有其它内容可以绊倒您,与扩展程序无关。这不能从提供的信息量中确定。