This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes configuration settings needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "configuration settings needed " Watch "configuration settings needed " New topic

configuration settings needed

vasu devan
Ranch Hand

Joined: Apr 14, 2005
Posts: 38
Dear Friends

I am new to Struts framework
i need to configure Struts in Tomcat server,and i am using Struts 1.1,Tomcat 5.0.28.

clarify the following points

1.If i developed any new project if i deployed in webapps,then where i have to configure the settings(web.xml)?
2.the first step deployed struts-tutorial in webapps,then where i have to configure struts-config.xml and web.xml?

Any help is appreciated

Regret if any misunderstanding.

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you're going to be writing Struts applications, you will want to set up some sort of development environment for writing the code. Eclipse with the commercial product MyEclipse is a good choice, but there are many others. If you're a minimalist, the Java SDK and a simple text editor will do just fine. Use whatever tools you pick to write the Java code and modify the configuration files (both web.xml and struts-config.xml). Once the code is written and copied to a WAR file, you can then deploy it to Tomcat.

If you need to change any code or configuration files, do it in your development environment and then redeploy the WAR file to Tomcat. In this respect, a Struts application is no different that any other J2EE web application.

Consultant, Sima Solutions
vasu devan
Ranch Hand

Joined: Apr 14, 2005
Posts: 38
Hi Merill

Thanks for your reply
I configured Tomcat with struts 1.1 and my first application working fine

I agree. Here's the link:
subject: configuration settings needed
Similar Threads
Tomcat 5 context configuration problem
Session not expiring even tomcat is restarted
configure Struts1.2 with eclipse
tomcat on vista