This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

configuration settings needed

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards
vasu
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vasu devan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Merill

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

cheers
vasu
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!