如何使用java从.shtml下载图像?
我在使用 java 从网页下载图像时遇到问题 - 除了 .shtml 页面外,一切正常。有什么想法吗?我可以获取该页面的源代码,但无法从中下载图像。提前感谢所有意见。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
shtml 扩展不会影响您下载数据的方式。它仅表明该网页具有服务器端包含的内容。
网页上肯定还有其他与扩展无关的东西让您绊倒。从提供的信息量无法确定这是什么。
The shtml extension won't effect how you download the data. It just indicates that the webpage has server side included content.
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.