Ted Husted has links tutorials, example webapps, and
code (custom tags, etc.).
http://www.husted.com/about/struts/
"A Walking Tour of Struts" (at the bottom) walks you
through the Struts example webapp.
http://www.husted.com/about/struts/scaffolding.htm
If you want to stay pure MVC, then you can have your
home page go through the controller servlet.
Struts has a connection pool that you can use for
database connections. You configure it in the
struts-config.xml file.
David
--- [EMAIL PROTECTED] wrote:
> Hi all,
>
> I just signed up and looking for some tutorials on
> struts.
> I installed it on Linux with Apache-Tomcat config.
>
> There is a sample application in there, however it
> would be maybe easier to
> go through some tutorials first.
> Any suggestions ?
>
> Also, I'm in the process of doing a little web site
> for myself.
> It's basically only presentation of data for now. I
> have a little confusion
> there. As far as I understood the specifications,
> servlets ( controllers )
> are responsible for data extraction from the
> database and JSPs for
> presentation. So what should I set up as the "index
> page" , a JSP that
> forwards the request to servlet and servlet responds
> to JSP again or to use
> a servlet that sends data to JSP ?
>
> Also. is it a good technique to have the JSP ( beans
> ) extract data from
> database ? In this case, how do I get to the
> connection parameters if I
> don't want to hardcode it and maybe use web.xml file
> to hold the connection
> parameters ?
>
> All responses are welcomed.
>
> Thank you.
>
> Jf
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/