ow after
> printing.
> https://developer.mozilla.org/en-US/docs/Web/API/Window/afterprint_event
>
> Regards,
>
> Nate Kerkhofs
>
> -Original Message-
> From: Tanveer Alaie
> Sent: Tuesday, 19 March 2024 08:08
> To: user@struts.apache.org
> Subject
-
From: Tanveer Alaie
Sent: Tuesday, 19 March 2024 08:08
To: user@struts.apache.org
Subject: Query regarding printing and closing Jasper reports in Struts2.5
I am facing an issue with printing and closing Jasper reports in my Struts2
application. Here's a brief overview of the problem:
Descript
I am facing an issue with printing and closing Jasper reports in my Struts2
application. Here's a brief overview of the problem:
Description: In my Struts2 web application, I have a requirement to
generate Jasper reports and provide an option to print them directly from
the browser. Additionally
sob., 11 kwi 2020 o 11:35 M Huzaifah napisał(a):
> Dear Lucas and Other,
>
> i am generate PDF from struts using jasper plugin. i’ve found something
> weird. i design my report using Jasper Report Studio (version 6.12.0 the
> newest one) and then add text with bold and italic styl
HI
i'm trying to integrate .jasper file to my struds project
i am new to this
please help me
please let me know the configuration what i need to do
thanks in advance
Manju
--
View this message in context:
http://struts.1045723.n5.nabble.com/unable-to-integrate-jasper-file-to-my
-INF/classes/jasper/our_jasper_template.jasper);
result = result.setDataSource(myList);
result = result.setFormat(HTML);
result = result.setImageServletUrl(/servlets/image?image=);
return result;
}
--
View this message in context:
http://struts.1045723.n5.nabble.com/Jasper-Report-Problem-in-HTML
dat means i hav to use content Disposition
ok bt later will the print action be revoked or not???
Please elaborate ur idea using code please
--
View this message in context:
http://struts.1045723.n5.nabble.com/directly-send-Jasper-report-to-printer-in-WebApplication-from-local-printer
damn urgent for me
--
View this message in context:
http://struts.1045723.n5.nabble.com/directly-send-Jasper-report-to-printer-in-WebApplication-from-local-printer-tp4343114p4343114.html
Sent from the Struts - User mailing list archive at Nabble.com
all said and done my code is working well
i am using JasperPrintManager.printReport(jasperPrint, false); in struts
environment.
bt here when i am calling from client the print is invoking the server
printer unlike using local resource(printer).
can u find me the solution for this its very very
(Sorry if this is a dupe.)
On Wed, Apr 27, 2011 at 5:07 AM, nagarjunabatt...@gmail.com wrote:
bt here when i am calling from client the print is invoking the server
printer unlike using local resource(printer).
Well, your code is running on the server, so I'm not surprised. You
need to stream
Hi
I'm creating a report using jasper report and successfully generated the
report with struts2-jasperreports-plugin, in my web application.
the report is displayed in html format, now i need to embed this report in a
jsp page, but couldn't find a way to do that. Could some one please help me
I'm learning how to use Jasper reports, in this case as a result from
a Struts2 (2.1.8) web app. I'm sending a List (ArrayList) of objects
to a report and when the case is that simple, I have things working
just fine.
Next, I need to report a hierarchy of data like this example:
ListParent
to handle that. Perhaps I never
checked it in, which would be too bad, because I no longer have access
to that code :(
Dave
On Wed, Feb 16, 2011 at 12:11 PM, Aaron Brown aa...@thebrownproject.com wrote:
I'm learning how to use Jasper reports, in this case as a result from
a Struts2 (2.1.8) web app
, Aaron Brown aa...@thebrownproject.com
wrote:
I'm learning how to use Jasper reports, in this case as a result from
a Struts2 (2.1.8) web app. I'm sending a List (ArrayList) of objects
to a report and when the case is that simple, I have things working
just fine.
Next, I need to report
Hi we have done everything which is shown in the tutorial
http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html; but when we
call the action class we are getting 500 error. So what could be the reason?
Thanks and Regards,
Muralidhar Yaragalla,
Senior Software Specialist,
Patni
It's pretty much impossible to help with that limited amount of information.
What version of S2 are you using? What's in the logs? Have you
sanity-checked with a simple report? What's your configuration look like? Is
anything else in the app working, or is it just this?
Dave
On Tue, Jan 25,
Our experiencr
Jasper plugins more effort rather using ireport to jdbc
/m/
-Original Message-
From: Yaragalla, Muralidhar muralidhar.yaraga...@patni.com
Date: Tue, 25 Jan 2011 18:32:50
To: 'user@struts.apache.org'user@struts.apache.org
Reply-To: Struts Users Mailing List user
hi Dave,
Hope you remember me recently i have asked the problem in jasper reports
with struts. In that the problem is only on iText2.1.0.jar
but now am facing problem due to the slow processing...
Especially the JasperFillReport method is performing very slow
and data base issues are also coming
hi
got it man. the problem here is my iText.jar
i ve downloaded new one the now its working..
Thanks a lot from early reply
thank u thanks alot
--
View this message in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30244620.html
Sent from the Struts - User mailing list
hi all
what is the benefit using Jasper with S2, if we can run using JSP and run
well
i see that we must use List and throw to Jasper with S2, is there a better
alternatif
F
If you want reports?
On Thursday, November 18, 2010, Frans Thamura fr...@meruvian.org wrote:
hi all
what is the benefit using Jasper with S2, if we can run using JSP and run
well
i see that we must use List and throw to Jasper with S2, is there a better
alternatif
F
If?
Don't get it
Can share?
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:00:57
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Jasper Relevancy
If you want reports
Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Jasper Relevancy
If you want reports?
On Thursday, November 18, 2010, Frans Thamura fr...@meruvian.org wrote:
hi all
what is the benefit using Jasper with S2, if we can run using JSP and run
Subject: Re: Jasper Relevancy
People use JasperReports when they want reports.
On Thu, Nov 18, 2010 at 7:25 AM, Frans Thamura fr...@meruvian.org wrote:
If?
Don't get it
Can share?
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:00:57
But feel using struts2 more work than jsp
May be anyone have a better solution
/m/
--
*From: * Dave Newton davelnew...@gmail.com
*Date: *Thu, 18 Nov 2010 07:38:42 -0500
*To: *Struts Users Mailing Listuser@struts.apache.org;
fr...@meruvian.org
*Subject: *Re: Jasper
We have both implementation
I still work to make the json become jasper meta datasource, like ajax way
which we want
The jsp is more integrated. With ireport
/m/
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Thu, 18 Nov 2010 07:41:18
To: fr...@meruvian.org
Cc
/
--
*From: * Dave Newton davelnew...@gmail.com
*Date: *Thu, 18 Nov 2010 07:38:42 -0500
*To: *Struts Users Mailing Listuser@struts.apache.org;
fr...@meruvian.org
*Subject: *Re: Jasper Relevancy
People use JasperReports when they want reports.
On Thu, Nov 18, 2010 at 7:25 AM
We use hibernate and spring as ioc
The jsp just plain jdbc and several list
/m/
-Original Message-
From: stanl...@gmail.com
Date: Thu, 18 Nov 2010 06:46:46
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Jasper
on every request.
try {
ServletContext context = null ;
context = ServletActionContext.getServletContext();
JasperCompileManager.compileReportToFile(context.getRealPath(/jasper/Report.jrxml),context.getRealPath(/jasper/Report.jasper
Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
struts
package name=default namespace=/ extends=jasperreports-default
result-types
result-type name=jasper
class=org.apache.struts2.views.jasperreports.JasperReportsResult
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
struts
package name=default namespace=/ extends=jasperreports-default
result-types
result-type name=jasper
class=org.apache.struts2
in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30235337.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
JasperCompileManager.compileReportToFile(context.getRealPath(/jasper/Report.jrxml),context.getRealPath(/jasper/Report.jasper));
--
View this message in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30235420.html
Sent from the Struts - User mailing list archive at Nabble.com
JasperCompileManager.compileReportToFile(context.getRealPath(/jasper/Report.jrxml),context.getRealPath(/jasper/Report.jasper));
--
View this message in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30235451.html
Sent from the Struts - User mailing list archive at Nabble.com
On Mon, Nov 15, 2010 at 2:40 AM, @rju nagarjunabatt...@gmail.com wrote:
Guys am also getting problem using jasper reports with struts 2.. please help
me ASAP... same tutorial i too followed
...
How can anybody help if we have no idea what problem you're having?
Dave
On Mon, Nov 15, 2010 at 7:08 AM, Dave Newton davelnew...@gmail.com wrote:
On Mon, Nov 15, 2010 at 2:40 AM, @rju nagarjunabatt...@gmail.com wrote:
Guys am also getting problem using jasper reports with struts 2.. please
help
me ASAP... same tutorial i too followed
...
How can anybody
ok boss let me shou you my files
-struts.xml
?xml version=1.0 encoding=UTF-8 ?
/jasper/Report.jasper
myList
PDF
I can't actually see anything, but do you have an action configured
for the report?
On Mon, Nov 15, 2010 at 11:34 PM, @rju nagarjunabatt...@gmail.com wrote:
ok boss let me shou you my files
-struts.xml
?xml version=1.0 encoding=UTF-8 ?
/jasper
Guys am also getting problem using jasper reports with struts 2.. please help
me ASAP...
same tutorial i too followed
--
View this message in context:
http://old.nabble.com/result-type-Jasper--Struts-2--tp11004749p30215529.html
Sent from the Struts - User mailing list archive at Nabble.com
!
Terry.
--
View this message in context:
http://old.nabble.com/dynamic-create-jasper-jrxml-file-tp29951173p29951173.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
but no one uses similar things.
Thank you for any help!
Terry.
--
View this message in context:
http://old.nabble.com/Dynamic-create-jasper-jrxml-file-tp29951173p29951173.html
Sent from the Struts - User mailing list archive at Nabble.com
You should ask Jasper questions in their lists/forums--more likely to
get answers.
Doing this means you'd be recompiling the report every time it's run.
On Wednesday, October 13, 2010, cellterry cellte...@gmail.com wrote:
Hello all,
Is it a normal way to create jrxml file for jasperreport
hi all
we know jasper 3 has feature to export to ODS and ODT, using oasis exporter
any one know, who to export to this 2 format
result=ods ?
--
Frans Thamura
Director
Meruvian.
The Most Complete Java Services Provider in Indonesia
Mobile: +6287885901958
Blog Profile: http
-pattern
/servlet-mapping
HTH
Best regards,
Celinio
Fernandes
--- On Mon, 6/21/10, Amol Ghotankar ghotankaru...@gmail.com wrote:
From: Amol Ghotankar ghotankaru...@gmail.com
Subject: Re: Jasper Report Problem in HTML format
To: Struts Users Mailing List user@struts.apache.org
Date: Monday
Dear List members,
My problem is still not resolved.
I am not able to show jasper reports in html format in struts 2.
The images that are generated in html format are missing.
Please help me on it.
Regards,
Amol ghotankar
On Sun, Jun 20, 2010 at 11:56 PM, Amol Ghotankar ghotankaru
Looks like its a path issue. Please see if the image tags in the generated
HTML point to the proper URL for images.
From:
Amol Ghotankar ghotankaru...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
Date:
21-06-2010 17:21
Subject:
Re: Jasper Report Problem in HTML format
Yes it could be path issue, but the images point to the images folder in web
content.
No images are generated in my case as I have searched them everywhere.
Where are the images generally kept when using jasper reports in html format
using struts2.
On Mon, Jun 21, 2010 at 5:55 PM, Rahul Mohan
--- On Mon, 6/21/10, Amol Ghotankar ghotankaru...@gmail.com wrote:
From: Amol Ghotankar ghotankaru...@gmail.com
Subject: Re: Jasper Report Problem in HTML format
To: Struts Users Mailing List user@struts.apache.org
Date: Monday, June 21, 2010, 9:25 AM
Yes it could be path issue, but the images point
Dear List members,
I have successfully embedded jasper reports with struts 2, thanks to the
documentation.
Only major problem that i am facing is when I give format as HTML in xml
file, the html page opens but the images are not found.
What can be done so that the path of images will be taken
dynamically.
On Sun, Jun 20, 2010 at 4:34 PM, Amol Ghotankar ghotankaru...@gmail.comwrote:
Dear List members,
I have successfully embedded jasper reports with struts 2, thanks to the
documentation.
Only major problem that i am facing is when I give format as HTML in xml
file, the html page
wrote:
Dear List members,
I have successfully embedded jasper reports with struts 2, thanks to the
...
As per my knowleadge they are not getting generated properly, as i tried to
search them on all possible folders, evern via searching in my computer.
Has anyone tried jasper reports in html format before?
PDF XLS working perfectly fine and images are generated and displayed
there with no problem
Hi!
I would like to implement JASPER and my struts1 appliction
I have list of orders and items and I would like to use it .
I am new to JASPER. Does anyone know of an example for it?
Thanks
-
To unsubscribe, e-mail: user
Hi,
Whenever I am giving true in
JasperPrintManager.printReport(jasperPrint, true)
it is throwing the error
net.sf.jasperreports.engine.JRException: Error printing report.
But if I am giving it as
Maybe you should try a Jasper mailing list?
Nils-H
On Fri, May 29, 2009 at 8:19 AM, Ikya Technical ikyatechni...@gmail.com wrote:
Hi,
Whenever I am giving true in
JasperPrintManager.printReport(jasperPrint, true)
it is throwing the error
Or, just quit trying to specify true... Based on the information
provided, I would suggest that you specify false from now on.
:)
-Wes
On Fri, May 29, 2009 at 2:24 AM, Nils-Helge Garli Hegvik
nil...@gmail.com wrote:
Maybe you should try a Jasper mailing list?
Nils-H
On Fri, May 29, 2009
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Fri, 29 May 2009 11:29:35 -0400
Subject: Re: Error in Jasper printReport
From: w...@wantii.com
être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Fri, 29 May 2009 11:29:35 -0400
Subject: Re: Error in Jasper printReport
From: w...@wantii.com
To: user@struts.apache.org
Or, just quit trying to specify true... Based
Wes Wannemacher wrote:
I think we'll also need his social security number, any and all credit
card numbers and his first-born child.
Could be a firmware issue, so include a BIOS dump.
Dave
-
To unsubscribe, e-mail:
@struts.apache.org
Subject: Re: Error in Jasper printReport [Friday]
Wes Wannemacher wrote:
I think we'll also need his social security number, any and all credit
card numbers and his first-born child.
Could be a firmware issue, so include a BIOS dump.
Dave
effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Fri, 29 May 2009 11:29:35 -0400
Subject: Re: Error in Jasper printReport
From: w...@wantii.com
To: user
OK, I took a smart pill, and put the following in my action:
JasperCompileManager.compileReportToFile(
this.getServletContext().getRealPath(/jasper/scrounger_report.jrxml),
this.getServletContext().getRealPath(/jasper/scrounger_report.jasper));
I'm logging that location with log4j
Please start new threads for new topics.
Security Management wrote:
I have put a file here:
/jasper/report.jrxml
Without any context I have no idea where that file is: is it on the
classpath? Is it in the webapp root?
action name=saveReport class=com.secmgmt.struts2.actions.SaveReport
Doh, I must have replied to a topic, my bad.
What is my-webapp? A directory? Your web app's context? If the latter,
that certainly won't work, you'd need to get the path relative to your
webapp's deployment.
Yes, it's the context directory, I've also just tried it with
/jasper
the tutorial here:
http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html
I have put a file here:
/jasper/report.jrxml
I can look in my war file and verify it.
I'm trying to compile and render with it. Here is my action code:
action name=saveReport class=com.secmgmt.struts2.actions.SaveReport
--- On Fri, 12/19/08, Mel Rosenberg melrosenb...@charter.net wrote:
Does anyone know where I can get the plugin? The link from Struts2
guide doesn’t go there.
It's in the distro.
Dave
-
To unsubscribe, e-mail:
Does anyone know where I can get the plugin? The link from Struts2 guide
doesnt go there.
Thanks
Mel
Hi all,
Currently I m working with Jasper Reports for one of report. And for
that report after all the data, a full page of static text is to be
placed at the end of the report (in my case 2nd page).
But in Jasper report, we can have only one page per report and so I m
nit able to add
--- On Fri, 8/22/08, ManiKanta G wrote:
But in Jasper report, we can have only one page per report
and so I m nit able to add a full page static text. When
I googled for this, I found this can be implemented using
2 or more jasper reports and merging them as a single
final report.
Can
:
But in Jasper report, we can have only one page per report
and so I m nit able to add a full page static text. When
I googled for this, I found this can be implemented using
2 or more jasper reports and merging them as a single
final report.
Can any one tell me how to merge two jasper reports
--- On Fri, 8/22/08, ManiKanta G wrote:
I've included a page break just before the static text.
But as the static text is almost an another page, it is
going out of page dimensions and I m not able to compile
the report.
Please see the JasperReport docs for how to deal with that. Workarounds
Thanks Dave.
I'll see that.
Regards,
ManiKanta
Dave Newton wrote:
--- On Fri, 8/22/08, ManiKanta G wrote:
Please see the JasperReport docs for how to deal with that. Workarounds include making
the field very small but making it expand to size of largest element and so
on.
Dave
());
}
*/
JasperCompileManager.compileReportToFile(dir+/jasper/our_jasper_template.jrxml,dir+/jasper/our_compiled_template.jasper);
/* load JasperDesign from XML
)
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
Does anybody knows this problem or even have a clue to follow?
Cheers,
Felipe
--
View this message in context:
http://www.nabble.com/Jasper-Report-Plugin-tp18286843p18286843.html
Sent from the Struts - User
Title: [Fwd: test]
System property java.awt.headless needs to be set to true.
(-Djava.awt.headless=true in the startup for whichever container you're
using)
PK
Felipe Rodrigues wrote:
Hi Guys,
I'm having a problem when trying to use JasperReport plugin in a linux
machine. I'm getting
--- David Evans [EMAIL PROTECTED] wrote:
Ok, thanks. Two questions:
1. to build it, do i download the source from svn, compile, then jar?
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
2. what does 2.1.muble+ mean?
It means I don't remember when it got committed,
There ended up being dependency issues because there was a switch to
xwork logging that was commited previous to your changes. So I just used
the struts2-jasperreports-plugin-2.0.11.1 source and copied your
exportParameter code into that. compiled and jarred and its working
great. thanks for your
Yeah, that's what I'm doing locally (more or less), too.
Dave
--- David Evans [EMAIL PROTECTED] wrote:
There ended up being dependency issues because there was a switch to
xwork logging that was commited previous to your changes. So I just
used the struts2-jasperreports-plugin-2.0.11.1 source
Hello,
I need to download the latest version of the jasper reports plugin jar
(in order to take advantage of the exportParameters functionality added
to JasperReportsResult.java by Dave Newton on April 25th). How can I
download a jar that includes that version? Or do i have to build that
myself
--- David Evans [EMAIL PROTECTED] wrote:
I need to download the latest version of the jasper reports plugin
jar
(in order to take advantage of the exportParameters functionality
added
to JasperReportsResult.java by Dave Newton on April 25th). How can I
download a jar that includes
Ok, thanks. Two questions:
1. to build it, do i download the source from svn, compile, then jar?
2. what does 2.1.muble+ mean?
Dave
On Fri, 2008-05-23 at 15:47 -0700, Dave Newton wrote:
--- David Evans [EMAIL PROTECTED] wrote:
I need to download the latest version of the jasper reports
Hi,
In my app, i need to override some Jasper Report exporter parameters'
default only for certain actions. For example, i need to set :
exporter.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD,true); for
a report where the data columns can be very long and need to break ; while
Could someone provide the example how to pass parameters from Struts2
action to Jasper report?
I have created simple Jasper report based on Struts tutorial. Then I had
modified this example in order to use parameter within Jasper report.
Jasper report JRXML file:
/parameter name=test
();
...
JasperPrint jasperPrint =
JasperFillManager.fillReport(jasperReport,
parameters, con);
..
-Manjesh
On 11/5/07, Serg Mazurok [EMAIL PROTECTED] wrote:
Could someone provide the example how to pass parameters from Struts2
action to Jasper report?
I
Serg,
I'm not an expert at jasper reports, but I think parameters are pulled from
the datasource. In that case, the jasper report result wraps the
datasources in a ValueStackDataSource. (a class located in the jasper
reports plugin) I would set a few breakpoints in there to see why the
jasper
Hi,
I just started using the S2 - Jasper plugin ; new to Jasper as well ; but
not able to get a simple report to show.
Below is my struts xml entry :
package name=cap-default
extends=struts-default,jasperreports-default
action name=newapp class=com.mypage.TestAction
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
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
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
://www.nabble.com/Jasper-plugin-tf4055930.html#a11521166
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sure. I've attached an action that will allow you to use jasperreports
to write to the output stream. You'll have to tweak the classpath. Mine
probably won't work. It will load, compile and cache jrxml files located
in /WEB-INF/reports. It uses a javax.sql.DataSource from JNDI. It also
will
it assigns values from the value stack. Thus, I have to set the
parameters in the action and set names that are the same with the report
parameters (e.g. I had a jasper parameter named referenceNumber and a
setter/getter in my action for the referenceNumber variable)
Chad S. Lauritsen wrote
The Jasper Report plug-in is working. However, the PDF that's returned is
displayed in the same browser window that initiated the action. I want the
PDF to display in a new browser window. That way, my original window is not
overwritten by the report.
I've tried opening another window
Hi i'm trying to integrate jasper with struts 2..but i got an error because
of my result type jasper
i've followed this tutorial..
action name=myJasperTest class=com.mevipro.test.action.JasperAction
result name=success type=jasper/
/action
my question is how can i defined a jasper
I had to implement a jasper type for jasper report:
I think you need to define a result type in struts.xml like
!-- Configuration for the default package. --
package name=default extends=struts-default
result-types
result-type name=jasper
class=org.apache.struts2
still i got the error even if i include that in my default package..
e.g.
struts
package name=eis-default namespace=/ extends=struts-default
result-types
result-type name=jasper
class=org.apache.struts2.views.jasperreports.JasperReportsResult
I saw your others post so if i understand correctly, you want to use
jasperreports so here is what i ve done:
in struts.xml:
-!-- Configuration for the default package. --
-package name=default extends=struts-default
- result-types
- result-type name=jasper
class
/myeis/WEB-INF/lib/struts2-jasperreports-plugin-2.0.5.jar!/struts-plugin.xml:8:43
here is my struts-plugin.xml
struts
package name=jasperreports-default
result-types
result-type name=jasper
class=org.apache.struts2.views.jasperreports.JasperReportsResult/
/result-types
I have the following package defined in my struts.xml file:
package name=jasper extends=jasperreports-default
action name=getReport class=com.action.ReportAction
method=generateReport
result name=success type=jasper
param name=locationreports/report.jasper/param
Apparently using HttpServletRequest request =
ServletActionContext.getRequest();
So why is the setServletRequest method not called?
ChristopherAngel wrote:
I have the following package defined in my struts.xml file:
package name=jasper extends=jasperreports-default
action name
1 - 100 of 169 matches
Mail list logo