我是这方面的新手,需要帮助。从jsp调用Jasper Server报告
我正在使用Jasper报告服务器。我的目标是从jsp调用在JasperServer中发布的报告。可能吗?
到目前为止,我能够使用http api在html页面上显示报告,但问题在于用户凭证显示为明文而不是隐藏。
任何想法?
我是这方面的新手,需要帮助。从jsp调用Jasper Server报告
我正在使用Jasper报告服务器。我的目标是从jsp调用在JasperServer中发布的报告。可能吗?
到目前为止,我能够使用http api在html页面上显示报告,但问题在于用户凭证显示为明文而不是隐藏。
任何想法?
阅读所有你的建议后,我想出了这个解决方案:
PutMethod put = new PutMethod(request3);
put.setRequestEntity(new StringRequestEntity(descriptor, "text/xml", "UTF-8"));
int statusCode3 = client.executeMethod(put);
//System.out.println(put.getResponseBodyAsString());
String report = put.getResponseBodyAsString();
只要我找到了一种方法来建立我的PUT HTTP请求,一切的身体工作正常! 我发布了解决方案,也许可以帮助别人!
干杯!