You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lenny Sorey <lr...@fatdot.com> on 2002/08/25 21:56:29 UTC

New User Request To Struts 1.1b

Before I begin, Let me just how must I appreciate such an active user group.

I am a new user to Struts.  Because of the major changes in Struts 1.1b from previous versions, I have decided to
focus on this version of Struts.

Although the examples that come with Struts 1.1b are very good, there are none that give a proper example
of accessing and retrieving data from a database via Struts 1.1b. Realizing that many people use different databases I've
notice that there is a trend to use MYSQL in examples found on Sourceforge.net.  Unfortunately, the examples 
that I've found on Sourceforge.net that use MYSQL pretty much use previous versions of Struts for their examples. 
When I try to run these examples with the current version of Struts 1.1b, error messages abound.

Noting that some items have been been migrated from Struts 1.0 to Jakarta Commons Dependencies makes trying to 
follow the existing MYSQL examples even more difficult.

Is there an example somewhere that someone has created for Struts 1.1b Using MYSQL with some sort of
database pooling resource that would have the following:

1.  A logon and forwarding page with user validation from the database.

2.  Form registration for adding users, passwords and writing info to the database.

3.  Retrieving and display a page with information from a database (without having to first login).

4.  Form that retrieves and allows user to update information contained in a database.

With the above example info, along with the creators permission, I 'd like to document the entire process
for the above referenced examples regarding Struts 1.1b in hopefully simple enough to understand terms for the 
How do I access my database? and How can I authenticate my users? in the newbie FAQ. I feel like this would have
helped me greatly, along with the existing documentation, when I made the decision about a month ago to choose
Jakarta Struts as the Framework of choice.

I don't know if I'm being to bold to ask for the above examples if anyone has such, but I am willing document the process
so that newbies will some sort of reference to database access using Struts 1.1b.

Thanks to all the developers involved with the Struts project, you folks have done a great job.

My platform is as follows:

Windows 2000 Professional
J2SDK 1.4.1
Tomcat 4.1.7
MySql 4.0.1-alpha-max-nt
Struts 1.1b
Velocity 1.3
Ant 1.4.1

Best regards,

Lenny Sorey





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>