struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonidas Papadakis ...@creteonline.gr>
Subject Re: portlet jasper report example
Date Thu, 09 Aug 2007 07:10:03 GMT
Hi Nils,

thank you very much for your reply. I really appreciate it.

I will try your solution and see what will come out.

Best Regards,

Leonidas


Nils-Helge Garli wrote:
> 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
>
>
>   


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


Mime
View raw message