Results 1 to 2 of 2
- 01-22-2013, 11:40 AM #1
Member
- Join Date
- Jan 2013
- Posts
- 1
- Rep Power
- 0
- 02-11-2013, 09:51 PM #2
Member
- Join Date
- Feb 2013
- Posts
- 3
- Rep Power
- 0
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
-
Struts and Velocity processing *.vm files
By dxande6 in forum Apache VelocityReplies: 0Last Post: 06-12-2012, 01:14 AM -
how many configuration files can struts frame work should have?
By akiravelmont in forum Web FrameworksReplies: 0Last Post: 05-26-2011, 06:05 AM -
Sending and receiving xml files using struts
By delarge08 in forum Web FrameworksReplies: 0Last Post: 04-05-2011, 12:57 AM -
decorator.jsp problem building Struts Menu in JSP when Struts action is used
By dkirvan in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 04-29-2010, 05:33 AM -
How Can I Automate Java Installations for PC Apps?
By salaciak@lgca.org in forum New To JavaReplies: 0Last Post: 07-23-2007, 05:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks