struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli" <nil...@gmail.com>
Subject Re: portlet jasper report example
Date Wed, 08 Aug 2007 20:39:01 GMT
Hi!

Jasper reports is, as far as I know, not tested in the portlet
framework. I'm not too familiar with Jasper, but if it's something
that should be generated and displayed on the fly (that is of binary
type), this cannot be done in a portlet in a portable manner. You
might have better luck dispatching your request to a servlet that does
the job. There's no problem combining servlets and portlets in your
application.

Nils-H

On 8/8/07, Leonidas Papadakis <it@creteonline.gr> wrote:
> Greetings to all,
>
> i am trying to use jasper reports under liferay. I think that i managed
> to add successfully my portlet to liferay although i had issues with the
> struts.xml file (had to manually add the result type "jasper" pointing
> to the plugin class).
>
> The problem is that now i get an uncaught exception from class
> JasperReportsResult.java at line 222:
> File directory = new File(systemId.substring(0,
> systemId.lastIndexOf(File.separator)));
>
> Has anyone come across this issue before ? or if someone has a struts
> 2.0.9 Working tutorial (a..z) can you please send me a link ?
>
> Thank you very much
>
> Regards,
>
> Leonidas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message