This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?
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.