• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem using Struts

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been battling with Struts since yesterday and I've deprived myself of sleep. Its now morning and the sun is shining but my problem persists.

How do you configure Apache Tomcat 5.5.9 to use Struts 1.2.9?

I have downloaded the zip, no jar files, everything in the folder is in XML format. Can someone put me out my ~@#;'#;
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Struts binary download contains several war files in its webapps directory. For starters, put struts-documentation.war and struts-examples.war in the webapps directory of your Tomcat installation. Tomcat should then unpack those automatically, after which you can access http://localhost:8080/struts-documentation and http://localhost:8080/struts-examples.

The download also contains the Struts jar files in the "lib" directory; which file did you download? Be sure to grab the binary version, not the source version.
[ July 20, 2006: Message edited by: Ulf Dittmer ]
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you use an IDE such as MyEclipse or NetBeans, check the documentation -- there is a wizard that will automatically set up a Struts application with everything in place.

If you're not using an IDE, unpack the struts-blank.war file that comes with the struts download and use that as a template for your application.

Once you're ready to deploy, it's just a matter of re-packing the war file and moving it to the appropriate directory in Tomcat.
 
C. Magmanum
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your responses, I was finally able to fix it. I want to learn more about Struts, do you know any book that might be of help?




[ July 21, 2006: Message edited by: C. Magmanum ]
[ January 14, 2008: Message edited by: C. Magmanum ]
 
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This could be good book for starting the things

[Struts Survival Guide]

Naseem
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic