Struts2 - Using java.util.Map as datasource in the jasperreports

2013-07-29 Thread Omar Ngarigari
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

Re: How to Configure a DataSource in Struts 2.X

2010-05-31 Thread aum strut
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

How to Configure a DataSource in Struts 2.X

2010-05-31 Thread VR Venugopal Rao
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

Re: [S2] ArrayList of Object as datasource in JasperReports

2008-01-02 Thread dasariprasad
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

Fw: [S2] ArrayList of Object as datasource in JasperReports

2007-11-08 Thread Martin Gainty
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

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-08 Thread carmi_cd
1,2003"); >>Personnel p2=new Personnel(); >>p2.setSurname("Cruz"); >>p2.setFirstname("Miguel"); >>p2.setExamcode("CSC222"); >>p2.setExamdate("December 2,2003"); >>rep

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-08 Thread j alex
;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

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-07 Thread carmi_cd
; > 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 >>

Re: [S2] ArrayList of Object as datasource in JasperReports

2007-11-07 Thread strutstwouser
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]

[S2] ArrayList of Object as datasource in JasperReports

2007-11-04 Thread carmi_cd
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

Re: How to use Jboss datasource in struts-config.xml

2006-11-09 Thread Antonio Petrelli
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

How to use Jboss datasource in struts-config.xml

2006-11-09 Thread Venkata Phani Kumar
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

[OT] Re: Using websphere datasource in Struts

2006-08-22 Thread Antonio Petrelli
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

Using websphere datasource in Struts

2006-08-22 Thread Shyamsunder Reddy
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

Re: access the DataSource in a plugin object

2005-09-14 Thread Martin Gainty
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

Re: access the DataSource in a plugin object

2005-09-14 Thread Thibaut Lassalle
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

Re: access the DataSource in a plugin object

2005-09-13 Thread Martin Gainty
).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

Re: access the DataSource in a plugin object

2005-09-13 Thread Thibaut Lassalle
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

Re: access the DataSource in a plugin object

2005-09-13 Thread Martin Gainty
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

access the DataSource in a plugin object

2005-09-13 Thread Thibaut Lassalle
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"

Re: DataSource in

2005-03-10 Thread brenmcguire
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

DataSource in

2005-03-09 Thread Jean Stamm
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