> -----Original Message-----
> From: Rachel [mailto:[EMAIL PROTECTED]]
> 
> Hi
> 
> Does anyone have, or know of a simple example or tutorial for
accessing
> mysql data with Struts?
> 
> I'm building a simple application using Struts with Tiles and need to
be
> able to retrieve articles from mySQL. I'm an ASP developer and having
> difficulties with the actual logic of what I'm supposed to be doing
here,
> and could do with a gentle shove in the right direction!

One important step is learning about the "Web MVC" paradigm for
structuring web applications.  When you learn this, you'll realize that
all access to external data sources is done indirectly in your Action
subclasses.  No business logic is put into your view pages.  It might be
worthwhile to get one of the recent books about Struts.  The only one
I've read is "Struts in Action", which I found to be pretty good, and it
will cover the high and low level details of what you need to learn to
get past this.



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

Reply via email to