Tag: struts 2
Why Struts 2, Introduction To Struts Framework
Let us see the quick and brief introduction to struts 2 framework, struts is an open source framework given by Apache software foundation under one of its projects called Jakarta. Struts is the frame work, used to develop web…
Struts 1.x vs Struts 2.x Main Differences
Let us see the component and functional differences between struts 1.x and struts 2.x In struts 1.x front controller is ActionServlet In 2.x front controller is FilterDispatcher In struts 1.x we have RequestProcessor class In 2.x we have Interceptors…
Using Struts 2 Autocompleter With Example
Let us see how to work with struts 2 autocompleter tag with example. This autocompleter tag will works asynchronously, and dont forget to add <s:head theme=”ajax” /> in the header part of the webpage . jars…
Struts 2 Iterator Tag Example
Let us see how to use iterator tag in struts 2, actually iterator is the best tag to use rather writing while loop to print collection of objects in jsp’s. if we use while loop we may need to…
Working With Struts 2 Interceptor With Example
In struts 1.x we have a RequestProcessor class if we want any per-processing services and post processing services for an Action, so that we used to implement in the RequestProcessor class, but this services will be executed for all…
Working With Struts 2 Tiles, Struts 2 Tiles Example
let us see how to work with tiles frame work in struts 2, tiles is the real time concept every body must know. Actually tiles applications is little different than other applications we worked up to now, let us…
Struts2 Insert,Update,Delete,Operations Through JDBC [ Real Time Application ]
Let us see on how to work with Insert,Update,Delete operations through struts 2 with JDBC connect, a real time application. Even we will see the same application using Struts 2 and Hibernate. Actually i have not covered example on ServletRequestAware,…
Struts2 Custom Interceptor Example, Struts2 Interceptors
Let us see how to create user defined interceptors in struts2, we already know this fact that struts2 by default provided lot of interceptors. In fact we no need to create any custom interceptors 🙂 , but this is…