Here we are using Eclipse jee Indigo SR2 and Above and Oracle 10g XE and Above
Download Required Jar files
Jars Download Link 1
Jars Download Link 2
1: Right Click Over Project Explorer
New->Dynamic Web Project
2:Type Project Name , Select Server and click Next button
you will see Configure project for building a Java application, click on Next button.
next screen will be Web Module for Configure web module settings, click on finish button.
3: Project Explorer After Click on finish button.
4: Right Click on your project and click on Properties
5: Properties->Java Build Path->Libraries->Add Library
Click on Add Library go to User Library then click next button.
6: Click on User Library
7: Click on New and give User Library Name and press OK button.
9: Go-to Struts jars folder where all your downloaded jar files are located and click on open.
10: View After Adding Jars , click OK.
11: Select StrutsJars User Libraries Check-box and click Finish
12: Properties > Java Build Path > Libraries > Add External Jars
Now for Adding External Jars for Oracle JDBC go to following location and select both the JARs and press OK button to add them as External JARs.
Download Required Jar files
Jars Download Link 1
Jars Download Link 2
1: Right Click Over Project Explorer
New->Dynamic Web Project
next screen will be Web Module for Configure web module settings, click on finish button.
3: Project Explorer After Click on finish button.
Click on Add Library go to User Library then click next button.
8: Click on Add Jars
Now for Adding External Jars for Oracle JDBC go to following location and select both the JARs and press OK button to add them as External JARs.
C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib
13: View After Adding JDBC Jar Files press OK
14: Right click over ProjStruts > Properties and Go-to Deployment Assembly.
Click on Add button
Select Java Build Path Entries and click next
Select StrutsJars and click finish
View of Deployment Assembly, click Apply then OK
15: Final View of Project in Project Explorer After Adding All Required Jars
More Struts Topics :
- How to Set Struts2 Environment for Eclipse with Oracle 10g Express Edition
- Simple struts2 program with Eclipse & Apache Tomcat Server
- Login Using Struts2 and Eclipse
- Database Access using Struts2,Eclipse and Oracle
- Basic form Validation using Struts2 Framework with validate() method and ActionSupport class
- Validation using Struts2 Framework and XML file on Radio button and DropDownList with Eclipse
- Validation using Struts2 Framework and XML file with Eclipse Indigo
- AJAX validation using Struts2 Framework and XML file with Eclipse Indigo
- Session Tracking using SessionAware Interface with Struts2, Oracle Database and Eclipse IDE
- Action Wildcards with Struts2
- How to Configure methods in Action mappings with or without Wildcards using Struts2
- Store and Retrieve Numeric, Alphanumeric and Blob (Image) data with Struts2, Oracle 10g XE and Eclipse Indigo as IDE
- How to use Struts2 Iterator tag to get Users Details with Oracle 10g XE and Eclipse
- How to iterate user details through ArrayList with Iterator tag in Struts2 using Oracle 10g XE and Eclipse
- How to upload Multiple Files- Images (blob data) with enctype="multipart/form-data" in Oracle Database using Struts2, JDBC and Eclipse IDE
No comments:
Post a Comment