jfreechart *rocks*!! (http://www.jfree.org/jfreechart/)

> -----Original Message-----
> From: as as [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 10, 2004 4:02 PM
> To: Struts Users Mailing List
> Subject: Re: Reports In Struts Frame work
> 
> 
> did u try jfree.org
> have a look at jchart.org also
> 
> [EMAIL PROTECTED] wrote:
> 
> Hi, 
> I want to implement reporting in struts framework , the 
> reports are like  select and display query, i dont have any 
> idea how to implement then in this framwork specially , the 
> action class  for report , i have coded the Model 1 type of 
> jsp report can any one provide  some hints how to proceed for 
> action class  for report. 
> thanks 
> rgds 
> 
> Birendar Singh Waldiya
> 
> 
> 
> "Jonathan Wright" <[EMAIL PROTECTED]> 
> 29-04-04 10:16 AM 
> Please respond to
> "Struts Users Mailing List" <[EMAIL PROTECTED]>
> 
> 
> To
> "Struts Users Mailing List" <[EMAIL PROTECTED]> cc
> Subject
> Re: Database access in contextInitialized
> 
> 
> 
> 
> The 'dataSource' attribute is stored in your servlet context. 
> So anywhere
> you can get a reference to that you can get hold of a 
> reference to your data
> source.
> 
> Hope that helps!
> 
> Jonathan
> 
> ----- Original Message -----
> From: "Samuel Rochas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 29, 2004 5:15 AM
> Subject: Database access in contextInitialized
> 
> 
> > Hello Struts Gurus,
> >
> > I am starting with struts.
> > I used to make some initialization in my Servlets using the init()
> > method. With struts, I just implemented the 
> contextInitialized method of
> > ServletContextListener Interface, and I have a place for such
> > initializations. Fine.
> >
> > The things I used to initialize were some Collections with 
> data from a
> > database. With struts, I am now using the datasource 
> configuration in
> > struts-config.xml and I access it in my Actions with:
> > getDataSource(request). Fine too.
> >
> > But, I don't have access to getDataSource() in my 
> ServletContextListener
> > implementation. So how can I access my database there, the 
> same way I
> > access it in the rest of the application?
> >
> > Thanx in advance
> > Samuel
> >
> > ---  andinasoft SA - Software y Consulting  ---
> > Mariano Aguilera 276 y Almagro - Quito, Ecuador
> > Tel. +593 2 290 55 18 ---- Cel. +593 9 946 4046
> > ---------  http://www.andinasoft.com  ---------
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ForwardSourceID:NT00006246     
> DISCLAIMER: The information contained in this message is 
> intended only and solely for the addressed individual or 
> entity indicated in this message and for the exclusive use of 
> the said addressed individual or entity indicated in this 
> message (or responsible for delivery
> of the message to such person) and may contain legally 
> privileged and confidential information belonging to Tata 
> Consultancy Services. It must not be printed, read, copied, 
> disclosed, forwarded, distributed or used (in whatsoever 
> manner) by any person other than the addressee. 
> Unauthorized use, disclosure or copying is strictly 
> prohibited and may constitute unlawful act and can possibly 
> attract legal action, civil and/or criminal. The contents of 
> this message need not necessarily reflect or endorse the 
> views of Tata Consultancy Services on any subject matter.
> Any action taken or omitted to be taken based on this message 
> is entirely at your risk and neither the originator of this 
> message nor Tata Consultancy Services takes any 
> responsibility or liability towards the same. Opinions, 
> conclusions and any other information contained in this message 
> that do not relate to the official business of Tata 
> Consultancy Services shall be understood as neither given nor 
> endorsed by Tata Consultancy Services or any affiliate of 
> Tata Consultancy Services. If you have received this message 
> in error, you should destroy this message and may please 
> notify the sender by e-mail. Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>               
> ---------------------------------
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to