Advertisement :
   Log In    OR    Register  
  Topics :  
RMI Example

Home >>> Struts Struts 2 Example Tutorial >>> Struts Eclipse MVC >>> Step by step demonstration
Struts Tutorials:
Struts2 Tag CheckBoxList
, Checkbox, Iterator, IF
Struts2 Tag Library Example Struts2 Tiles Example Struts2 Tiles I18N Example Struts2 Questions Struts Tiles I18N Example Struts Eclipse MVC Struts2 Tags Struts2 Example and Tutorial Struts MVC Struts2 Validation
Hibernate Tutorials: Hibernate Case Study Class Hierarchy Persist Example Using Hibernate Interceptor Hibernate Questions with Answer Hibernate Many-to-Many Mapping Example Hibernate one-to-many Mapping Example Hibernate and ORM tools Spring Hibernate Example Hibernate SessionFactory Example Hibernate Mapping Class Hierarchy Hibernate Questions Hibernate SessionFactory Questions Spring Hibernate Example: Spring Hibernate Case Study

Written By : ISHTEK
Title :
Struts2
Description : Tags such as IF Iterator Tags
More...


Written By : guddu
Title :
Struts Eclipse MVC
Description : Step by step demonstration
More...


Written By : Girish
Title :
Struts Tiles I18N Example
Description : Code with Sample Action
More...


Written By : ISHTEK
Title :
Struts2 questions
Description : open for discussion
More...


Written By : ISHTEK
Title :
Struts2 Tiles Example
Description : with Code and article
More...


Written By : ISHTEK
Title :
Struts2 Tiles I18N Example
Description : with code explained article
More...


Written By : Amit
Title :
Struts2 Tag Library Example
Description : Tutorial
More...

Tags/Keywords : Struts, Struts2 Tutorial, Struts 2 Example, Struts2
Author : guddu
Date (Year/Month/Date): 2009-03-15 Step by step demonstration of creating a example enterprise project
Part 1
Step by step demonstration of creating a example enterprise project
(with EAR packaging and deployment) using Eclipse version 3.4.1
from http://www.eclipse.org.

And showing an example Struts v1.1 based web application, with Tiles
and Message or i18n features.

Advertisement :
Software environment used for setting up this example environment as follows: 1. JBoss 5.0.0 as application server 2. JDK 1.5 as compile and runtime environment. 3. Eclipse (Genymede) as IDE. Steps include: 1. While opening Eclipse (Genymede) IDE, choose appropriate workspace to be created at the desired file system folder. 1. Creating an Enterprise Application Project, by using right click menu on Navigator view->New->Project->Java EE-> Enterprise Application Project(Select)-> Next(Button on wizard)-> Enter project name : sample-ear (for this example) Use default checked Target Runtime->New (Button)->JBoss(expanding)->JBoss v5.0(Select) ->Next(Button)-> JRE:(Either Installed JRE Preference/Select JRE or JDK 1.5) Application Server Directory: (Select appropriate server folder or JBoss_Home directory)->Finish EAR version Select as 5.0 Configuration: Default Configuration for JBoss vx.x.x->Next (Button)-> Check "Generate Deployment Descriptor"->Finish (Button). (You may see some error for the WAR project not attached to this EAR project.) 2. Creating a Dynamic Web Project, by using right click menu on Navigator View->New->Web->Dynamic Web Project->Next-> Project Name: sample-web(for this example) Use default Target runtime: JBoss vx.x.x Dynamic Web Module Version: 2.5 Configuration: Default Configuration for JBoss vx.x.x EAR Membership check Add project to an EAR EAR Project Name select sample-ear(for this example)->Next (Button) -> Context Root: ----- Content Directory: ------ Java Source Directory: ----- check "Generate Deployment Descriptor" ->Finish Once both the Enterprise and Dynamic web application projects are configured, then comes steps for putting example Struts web application files and putting all the pieces together for deploying an example Struts v1.1 web application to JBoss application server. In order to make this dynamic web application as Struts compatible, we need to copy following JAR files from the Struts package to the WEB-INF\lib folder:
  • antlr.jar
  • commons-beanutils.jar
  • commons-digester.jar
  • commons-fileupload.jar
  • commons-logging.jar
  • commons-validator.jar
  • jakarta-oro.jar
  • struts.jar
  • Please read all the license files/agreements of all the software mentioned in this Page and advised, before use. Author of this Page shall not be held responsible for any issues arise out of using any of the software mentioned in this Page. More to come in other parts of this write-up.
    Advertisement :
    
    
    	

    Commented By ->
    salish
    please help me to begin with Struts2 in MyEclipse6 with JBoss4.02GA with MySQL5
    Are you interested in solving a very interesting Technology Stack while Playing this Game          

    Please write your Comment on this Matter
    (This will be visible if found suitable):
    Name: *
    Email (will not be displayed): *
    Matter: *
    11,3
    Enter bigger number from above :*
    Home >>> Struts Struts 2 Example Tutorial >>> Struts Eclipse MVC >>> Step by step demonstration
    Visitor/User referred related external URL:
    (Visible upon review and approved by this site Administrator)
    
    Referred By Name *:
    Resource URL *: (e.g, URL should be starting with http://www.-----.---)
     
    Resource Short Description *:
    12,13
    Enter bigger number from above : *

    Please log in to add or reply to any matter<- requires login
    Log in or Register
    Copyright © 2008-2009, Interview-Questions-Tips-Forum, All Rights Reserved.
    CONTACT    PRIVACY POLICY    DISCLAIMER
    Terms of Use and Disclaimer :
    
    This web site provides some of the information about various technologies, example 
    code, tips, tutorials etc. Like any printed materials, content of these pages may 
    become out of date over a period of time. Therefore all visitor/users of this web 
    site are requested/advised to refer to the originating parties/sources for the 
    latest changes and happenings for detailed information. This information is not 
    intended to be a substitute for the original reference provided by the originating 
    parties/sources.
    
    By accessing and using this website in any ways, including, without
    limitation, browsing the website pages, using any information, using any content and/or 
    downloading any materials, you agree to and are bound by the terms of use 
    described in this page and Usage Terms and Conditions. 
    If you do not agree to all of 
    the terms and conditions contained in the terms of use described in this
    page and Usage Terms and Conditions, do not use this 
    website in any manner. If you are using the website on behalf of your 
    employer, you represent that you are authorized to accept these Terms of Use 
    on your employer's behalf.
    
    All Trademarks are property of their respective owner. Appropriate measure is being
    taken for providing accurate and up-to-date information but like any printed materials,
    these blog(s)/contents may eventually be outdated one day, so if you are using any 
    of these information, please refer original content/documentation from respective sources. 
    And under no circumstances shall the Author of these contents and/or this web site
    be liable for any loss, damage, expense incurred or suffered which is claimed to have
    occurred because of usage of the contents of this web site.
    If you have any questions/queries/feedback/suggestions then please write to this web
    site owner at contact.