Quantcast
Channel: JavaBeat » Struts
Browsing latest articles
Browse All 21 View Live

Struts 2 TextArea Tag Example

Connect to us ( @twitter | @facebook )Struts 2 TextArea field is helpful for entering the multiple lines in the input box. It is similar to the textfiled tag, but in the textfield tag only one line can...

View Article



Struts 2 + Spring Integration Example

Connect to us ( @twitter | @facebook )Struts 2 provides plug-ins for integration to any other frameworks. If you are using Spring for your bean management, then it is very easy for you to integrate...

View Article

Struts 2 Resource Bundle Example

Connect to us ( @twitter | @facebook )It is best practice to have all the labels used in your application in the centralized location. Tradionally these message resources are stored in the property...

View Article

Struts 2 Annotation Example

Connect to us ( @twitter | @facebook )Struts 2 supports annotations out of the box in its latest release without even a single line of configuration changes. You are not needed to create struts.xml...

View Article

Struts 2 + JSON Integration

Connect to us ( @twitter | @facebook )Struts 2 provides struts2-json-plugin.jar for supporting the conversion of result type to JSON strings. Nowadays every framework supports the JSON formats because...

View Article


Struts 2 Interceptors Example

Connect to us ( @twitter | @facebook )Interceptors are powerful mechanism to control the flow of each request. These are custom and default implementations which can be enforced to work as the callback...

View Article

HttpServletRequest in Struts 2 Action Class

Connect to us ( @twitter | @facebook )There are two ways to get the servlet request object inside struts 2 action class’s execute method. ServletActionContext : Directly accessing the getRequest method...

View Article

HttpServletResponse in Struts 2 Action Class

Connect to us ( @twitter | @facebook )There are two ways to get the servlet response object inside struts 2 action class’s execute method. ServletActionContext : Directly accessing the getresponse...

View Article


Struts 2 + Log4j Integration

Connect to us ( @twitter | @facebook )This example demonstrates how to integrate log4j to your struts 2 project. Add log4j.jar file in your project lib folder Create log4j.xml file with loggers and...

View Article


Struts 2 Tutorials

Connect to us ( @twitter | @facebook )Apache Struts 2 is another popular Model – View – Controller (MVC) framework from the Apache foundation. Since the inception of Struts 1, it is one of the most...

View Article
Browsing latest articles
Browse All 21 View Live




Latest Images