
Explore the struts 2 framework for building enterprise java web applications, learn the nvc pattern, and master architecture details, value stack, interceptors, and structural tags.
Explore the MVC architectural pattern, learn how model, view, and controller separate concerns, and see how data flows from client to database and back, with formatting for user-friendly output.
In this Struts 2 tutorial, we will understand the overall flow of a Struts 2 application and we will also get introduced to some important Struts 2 framework components.
In this tutorial, we will understand the Struts 2 framework architecture. We will understand how Struts 2 implements the MVC pattern.
set up a tomcat 8 server by downloading tomcat 8 from the official website, adding the tomcat server to eclipse, and resolving port conflicts by changing 8080 to another port.
In this tutorial, we will learn how to setup our Struts 2 work environment.
In this tutorial, we will create our first Struts 2 application.
In this Struts 2 tutorial, we will understand how to pass data from an Action object to a JSP page.
In this Struts 2 tutorial, we will understand how to pass data from a JSP page to an Action object.
In this Struts 2 tutorial, we will get an introduction to Action interface and ActionSupport class.
In this tutorial, we will create a Registration Application in Struts 2.
In this tutorial, we will understand the Struts 2 framework architecture in detail and get introduced to some new components like ActionMapper, ActionProxy, ActionInvocation etc. which are involved in the flow.
In this Struts 2 tutorial, we will understand the concept of ValueStack and OGNL.
In this Struts 2 tutorial, we will understand the concept of Interceptors.
In this Struts 2 tutorial, we will understand how to perform validations using the validate() method.
In this Struts 2 tutorial, we will understand how to perform validations using an xml file.
Explore the field validator tag in Struts 2, which enables XML-based validation by inheriting the field name and grouping validations like age as integer and email format.
Explore Struts2 tags by building a registration form with a text area for address and a reset tag. Bind the address to the action and display it on welcome page.
Populate an array list of colors in a Struts 2 action and load it via the form load action to display color options in the register page.
Learn to build a Struts 2 checkbox list for hobbies, programmatically populate a hobbies list in the action class, and display selected hobbies as a comma-separated string.
Learn how the Struts2 iterator tag iterates over a product list to render a table on the registration form, displaying product id, name, and price with property tags.
Use the if else tag in Struts 2 to conditionally display subscriber messages in welcome.jsp based on a subscription value.
Download Oracle 11g from the official Oracle site, run the installer, choose the install path, enter and remember the login password, and complete the Oracle database installation.
Explore how Jdbc, the Java Database Connectivity API, lets a Java application interact with any relational database using interfaces and classes, remaining independent of a specific RDBMS.
Explore the four JDBC driver types—type 1, type 2, type 3, and type 4—and how each converts JDBC calls to database specific protocols.
Explore JDBC classes and interfaces, including DriverManager, Connection, Statement, PreparedStatement, CallableStatement, ResultSet, ResultSetMetaData, and DatabaseMetaData.
discover the five JDBC connectivity steps: load and register the driver, create a connection with the DriverManager, create a statement, execute a query, and close the connection, using Oracle specifics.
Learn how to establish a connection to an Oracle database by loading the driver, using DriverManager.getConnection with a url, user, and password, and importing the Oracle driver jar in Eclipse.
Learn to connect to an Oracle database, execute a select query, and read and display results on the screen using a statement and a ResultSet.
Update an employee's salary using a JDBC update statement in the Struts 2 beginner course, showing single-row and multi-row updates with a where clause and the rows affected.
Use a prepared statement to delete from employee where employee ID is equal to a parameter, bind with setInt(1, 103), call executeUpdate, and verify the number of rows affected.
Learn to use a callable statement to execute a stored procedure that inserts an employee record, including creating the procedure, binding parameters, and validating the insertion.
Begin by building a product management application using struts2, implementing basic crud: login, view, add, update, and delete products; explore project structure, dao, db util, and pojo layers.
Set up a web project and configure web.xml and doctype, then implement a db util, login info POJO, login dao, and login action to validate credentials against login info table.
Configure a Struts 2 login flow, mapping success and input results, and build login and welcome JSPs with a centered form and basic styling.
Demonstrate the delete product flow in Struts 2, invoking the delete action via a link and query string, deleting the item from the database, and redirecting on success.
Explore running the Struts 2 application, highlighting built-in form validation for the product price, handling invalid input, and performing add, update, and delete actions.
Upgrade your Eclipse IDE to Photon, update Struts 2 to 2.5.20, and Tomcat to 9.0.16, then reconfigure workspace, Java build path, and deployment settings to run the updated project.
Explore internationalization and localization in software, and learn how i18n and l10n enable language, date, numeric, and cultural adaptations for a global user base, with Struts2 support.
Implement internationalization and localization in a Struts2 app by using resource bundles and locale-specific properties files, binding keys in JSP and following a global properties search order.
Learn how to implement internationalization and localization in Struts 2 by creating locale-specific properties files, adding language switch links, and using the url tag to pass the request_local parameter.
Explore the internal flow of Struts 2 interceptors by tracing how an action invocation orchestrates the interceptor stack, handles pre-processing and post-processing, and resolves results with validation checks.
Create a functional Struts 2 age group interceptor that reads the age from the value stack, assigns a group (children, adult, senior), and appends it to the age for display.
Apache Struts 2 is an MVC framework used for creating Java web applications. Web applications usually involve interaction with database, execution of business logic and rendering the result on the browser. If web applications are developed using only JSP/Servlets, at some point the project may become difficult to maintain. So there is a need to separate each of these concerns and that is what MVC does. Struts 2 Framework provides us an environment so that we develop our web applications following MVC pattern.
This course is for anyone who has basic knowledge about core Java concepts and who is totally new to Java frameworks. This course may not be suitable for students/programmers who are not familiar with Java. Having some basic knowledge about JSP/Servlets would be beneficial.
The tutorials in this course will teach you all the basic fundamentals of Struts 2. After completing this course, you will be able to build your own MVC applications using Struts 2. It will be a good starting point if you want to dive into the Java web frameworks world. With this course, you will understand how an MVC framework functions. All the concepts are explained in a very simple language. This course is highly practical-based with a very few power-point presentations. Also Struts 2 is comparatively easier to learn if you compare it with other Java web frameworks. And for those who are looking for a job, having a framework mentioned on your Resume/CV is really an added advantage.
Some of the highlights of this course:-
I believe you will enjoy this course. Happy coding :)