Results 1 to 2 of 2
  1. #1
    anilrsmca17 is offline Member
    Join Date
    Jan 2013
    Rep Power

    Post installations of struts jar files

    Hi iam new to struts to instal of struts jar files in eclipse ide...and also how to develop the application in eclipse.........???

  2. #2
    Vamsi Priya is offline Member
    Join Date
    Feb 2013
    Rep Power

    Default Re: installations of struts jar files

    1. Go to Download a Release download the full distribution which is a zip file.

    2. Download and extract. The extracted folder contains sub-folders which include src, lib, docs etc. U need to include some jar files from the lib folder in ur eclipse project.

    3. Create a web project.Web Project > Next > Give a project Name > Next >Content-Directory : web, Check create web.xml > Finish.
    In the web folder u have WEB-INF and META-INF. In the WEB-INF u have the lib folder in which u have to add struts jars.

    4.Go to the project, right click Properties > Java Build Path > Libraries > Add external Jars . then navigate to the Extracted struts folder and add the following jars.

    commons-beanutils, commons-chain, commons-collections, commons-digester
    commons-fileupload, commons-io,commons-lang, commons-lang3, commons-logging, commons validator, freemarker, ognl, struts2-core, struts-core, xwork-core.

    5. Go to project>Properties> Deployment Assembly > Add> Java Build Path entries > Select all the jars > Apply > Ok
    ( U can actually create a user library and use it always but i do it this way)

    U r all set with a blank eclipse project which uses struts 2 libraries.

    Hope u find this useful.

    :) Smiles.

Similar Threads

  1. Struts and Velocity processing *.vm files
    By dxande6 in forum Apache Velocity
    Replies: 0
    Last Post: 06-12-2012, 01:14 AM
  2. how many configuration files can struts frame work should have?
    By akiravelmont in forum Web Frameworks
    Replies: 0
    Last Post: 05-26-2011, 06:05 AM
  3. Sending and receiving xml files using struts
    By delarge08 in forum Web Frameworks
    Replies: 0
    Last Post: 04-05-2011, 12:57 AM
  4. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 05:33 AM
  5. How Can I Automate Java Installations for PC Apps?
    By in forum New To Java
    Replies: 0
    Last Post: 07-23-2007, 05:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts