Hello,
I was able to generate a PDF file using struts2-jasperreports-plugin using
java.util.List as datasource. However, I am not able to do the same with the
java.util.Map datasource.
My question is anybody knows how to use java.util.Map datasource in the
struts2-jasperreports-plugin
t; How do we configure a Datasource in Struts 2.X.
> 1. Do we put Driver and url in the Action Class file or
> 2. Do we configure the Driver and Url in the Web.xml or
> 3. Do we configure in struts.xml instead of web.xml.
>
> A Small example would be helpful.
&g
Dear All,
How do we configure a Datasource in Struts 2.X.
1. Do we put Driver and url in the Action Class file or
2. Do we configure the Driver and Url in the Web.xml or
3. Do we configure in struts.xml instead of web.xml.
A Small example would be helpful.
Regards,
VR Venugopal Rao
context:
http://www.nabble.com/-S2--ArrayList-of-Object-as-datasource-in-JasperReports-tp13580062p14590214.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
can we see your copy of apps/reports/templates/hr004.jrxml
M--
- Original Message -
From: "carmi_cd" <[EMAIL PROTECTED]>
To:
Sent: Thursday, November 08, 2007 8:31 PM
Subject: Re: [S2] ArrayList of Object as datasource in JasperReports
>
> here is t
1,2003");
>>Personnel p2=new Personnel();
>>p2.setSurname("Cruz");
>>p2.setFirstname("Miguel");
>>p2.setExamcode("CSC222");
>>p2.setExamdate("December 2,2003");
>>rep
;apps/reports/templates/hr004.jasper
>reportData
>PDF
>
>
>
> i hope you could help me..thanks a lot.
>
>
>
>
> strutstwouser wrote:
> >
> > http://struts.apache.org/2.x/docs/jasperreports-tut
;
> http://struts.apache.org/2.x/docs/jasperreports-tutorial.html ; I was able
> to use this as-is and get a report fine.
>
> -Joseph
>
>
> carmi_cd wrote:
>>
>>
>> I need a tutorial that uses ArrayList of Object as datasource
>>
sage in context:
http://www.nabble.com/-S2--ArrayList-of-Object-as-datasource-in-JasperReports-tf4749173.html#a13636526
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I need a tutorial that uses ArrayList of Object as datasource
for JasperReports..do you know any?
--
View this message in context:
http://www.nabble.com/-S2--ArrayList-of-Object-as-datasource-in-JasperReports-tf4749173.html#a13580062
Sent from the Struts - User mailing list archive at
Venkata Phani Kumar ha scritto:
Hi,
I have created a datasource which will bind to a jndi name. Now i want to use the same datasource in my struts application. For this i need to mention the same jndi name in my struts-config.xml.
can any body help me out how to mention the jndi name in
Hi,
I have created a datasource which will bind to a jndi name. Now i want to
use the same datasource in my struts application. For this i need to mention
the same jndi name in my struts-config.xml.
can any body help me out how to mention the jndi name in struts-config.xml
Thanks
Shyamsunder Reddy ha scritto:
What is the best place to call Websphere DataSource in Struts application.
Eheh, it's not so simple :-)
Instantiate it when ActionServlet is loaded and then pass onto Model classes as
reference
ABSOLUTELY NOT!
OR create a static class that instantiate
What is the best place to call Websphere DataSource in Struts application.
Instantiate it when ActionServlet is loaded and then pass onto Model classes as
reference OR create a static class that instantiates the DataSource and
getConnections from this class which should be Singleton
DataSource(javax.servlet.http.HttpServletRequest)
M-
- Original Message -
From: "Thibaut Lassalle" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, September 14, 2005 4:59 AM
Subject: Re: access the DataSource in a plugin object
hi
i have the solution
ase1").getConnection();
HTH/Bon Chance,
Martin-
- Original Message - From: "Thibaut Lassalle"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 13, 2005 10:29 AM
Subject: Re: access the DataSource in a plugin object
Martin
yo
).getConnection();
HTH/Bon Chance,
Martin-
- Original Message -
From: "Thibaut Lassalle" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 13, 2005 10:29 AM
Subject: Re: access the DataSource in a plugin object
Martin
you are
name space for the items in each module to protect you
from name clashes.
HTH,
Martin-
- Original Message - From: "Thibaut Lassalle"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 13, 2005 5:02 AM
Subject: access the DataSou
Users Mailing List"
Sent: Tuesday, September 13, 2005 5:02 AM
Subject: access the DataSource in a plugin object
hi
I would like to access the DataSource object from a plugin in my Struts
application.
I use struts 1.2 with modules.
In the root struts-config.xml the data source
hi
I would like to access the DataSource object from a plugin in my Struts
application.
I use struts 1.2 with modules.
In the root struts-config.xml the data source is discribe as :
key="dataBase1">
value="org.gjt.mm.mysql.Driver" />
value="jdbc:mysql://192.168.0.25/cvdunet"
I don't know if it is correct or not, but it is the way the internal
datasource manager in Struts behaves.
Anyway I wrote a plugin that "should" behave better:
http://sdsmanager.sourceforge.net/
I must say that using DataSource as part of a web application is not a
good practice (though I don't thi
Hello,
In a Struts app I use the standard DataSource interface to implement
the connection pooling to my DB.
I use it in my Actions, calling getDataSource with the request as
argument like getDataSource(request, "datasourcename").
I also have a plug-in which puts an array of beans in the applic
22 matches
Mail list logo