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