Setting Up Struts

I l @ ve RuBoard

Installing Struts is actually fairly easy. You need to have the Xerces XML parser available to Tomcat; Chapter 14, "Integrating XML in E-Commerce Sites," describes how to do this.

As of this writing, the current release of Struts is 1.0. Download the ZIP file from the FTP server at apache.org, and unpack it into \STRUTS. Now copy the webapps\struts-blank.war file to \TOMCAT\webapps\struts-bfg.war.

Stop and start the Tomcat server, and you'll see that there is now a struts-bfg subdirectory under webapps. You've just created a Struts-compliant Web app that you'll use to rebuild the MyAccount functionality of the BFG site using Struts.

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net