Pentaho:图像没有正确的路径
我正在运行 Pentaho 报告。问题是所有图像都设置为 localhost:8080 等,所以我无法查看图像。你能告诉我哪里有这个房产吗
I am running Pentaho reports. The problem is all the images are set to localhost:8080 etc, so, I am not able to view the images. Can you tell me where this property be available
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
相关设置在 web.xml 文件中称为“base-url”。将其更改为公共 IP 或域名。所有内容生成器都使用 base-url 来创建指向其他文件的链接。
确保您仅通过已配置的公共 IP/名称访问服务器 - 否则您可能会遇到安全层的麻烦,因为它依赖 cookie 来验证您的身份,因此可能会阻止您看到出现的内容未登录。
The related setting for that is called "base-url" in your web.xml file. Change this to a public IP or domain name. The base-url is used by all content-generators to create links to other files.
Make sure you only access the server via the public IP/name that has been configured there - otherwise you may run into troubles with the security layer as it relies on cookies to authenticate yourself and thus it may prevent you from seeing that content as you appear to be not logged in.