Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 3rd, 2006, 07:07 AM
Authorized User
 
Join Date: Jan 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use struts with apache tomcat



I am new to struts and i have installed apache tomcat in my c\program files .now i want to use struts with it can some body suggest me how to do this. I also have struts 1.2.4 with me .

__________________
regards ,Vivek
 
Old February 4th, 2006, 06:55 AM
Authorized User
 
Join Date: Jan 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to longjava
Default

Here are the steps to install struts with you web application under Tomcat 4.x or later:

1. Copy all of the JAR files from the distributio's lib directory to your wep application's WEB-INF/lib directory.
2. Copy all of the .tld to your web application's WEB-INF directory.
3. Create web.xml and struts-config.xml files and copy it to your web application's WEB-INF directory.
4. Create a resource bundle and copy it to your web application's WEB-INF directory.
5. If you plan to use the Valiation framework, copy the validation-rules.xml file to your web application's WEB-INF directory.

That's really all there is to installing the Struts framework.

Hope this help.

 
Old February 16th, 2007, 05:22 PM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ancalim Send a message via Yahoo to ancalim
Default

So STRUTS gets "installed" in every app directory you create in Tomcat 5.0\webapps\*webapp directory name* ?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Tomcat [email protected] Apache Tomcat 3 April 19th, 2006 07:24 AM
Tomcat / Struts Deborah Apache Tomcat 1 January 19th, 2006 08:04 PM
Use Tomcat 5.x with Struts inderjeet_79 BOOK: Professional Jakarta Struts 0 September 21st, 2005 12:24 AM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
org.apache.struts.* bongo76 Apache Tomcat 1 April 18th, 2004 05:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.