File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To Implement struts in tomcat?

 
Vilas Lawande
Ranch Hand
Posts: 127
  • 0
  • 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?
 
li bei
Greenhorn
Posts: 20
  • 0
  • 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.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • 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
  • 0
  • 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
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • 0
  • 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
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Ranchers,
    For help...........
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic