Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

To Implement struts in tomcat?

 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
To Implement struts in tomcat,which file we require to download from net?
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
strtus.apache.org release

You don't have to add any file to tomcat.

Instead ,you have to put the jar file in the WEB-INF/lib directory in your application which use struts.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing special about deploying a Struts application to Tomcat. You just copy the war file you've created to the proper directory in Tomcat the same as you would with any other J2EE war file.
 
Vilas Lawande
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
posted Wednesday, July 25, 2007 1:07 PM
--------------------------------------------------------------------------------
strtus.apache.org release

You don't have to add any file to tomcat.

Instead ,you have to put the jar file in the WEB-INF/lib directory in your application which use struts.
--------------------


Which jar file I have to put in WEB-INF /lib directory
Thanks for information
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
struts-<version>.jar file. The version could vary as that of the implementation. You may get struts-1.2.1 jar say for example if you download the 1.2.1 version.

You can do it by two ways.

  • Place the jar file inside your web applications "WEB-INF/lib" directory so that it will be useful ONLY to the specific web app.
  • Place it in the <TOMCAT_INSTALLATION_DIR/shared/lib" directory so that it will be useful for all web applications deployed in that instance of tomcat which uses Struts. - The common library files required by many applications will follow this way.



  • Hope this helps.
     
    Vilas Lawande
    Ranch Hand
    Posts: 127
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Ranchers,
    For help...........
      Bookmark Topic Watch Topic
    • New Topic