Any Java class that you want to initialize when Struts application starts up and destroy when the application shuts down is a Java Plug-in. You can create a Java Plug-in by creatin
Read tutorial ↗This tutorial lists 7 Best practices of Struts.
Read tutorial ↗Craig McClanahan originally wrote the Struts framework, mostly while on his Memorial Day vacation in 2000! The framework was subsequently donated by Craig to the Apache Software Fo
Read tutorial ↗When the development begins, the struts-config.xml is always small and manageable. But as time passes and features are added, the file continues to grow to become a monster. Splitt
Read tutorial ↗XDoclet based management of struts-config.xml is a entirely different concept. In XDoclet approach, there is no struts-config.xml at all! In the XDoclet approach, there is no strut
Read tutorial ↗According to the Model 2 paradigm, the view is always served by the controller and should not be requested explicitly from any other view. In reality a JSP can always navigate to a
Read tutorial ↗ForwardAction is the one of the most frequently used built-in Action classes. The primary reason behind this is that ForwardAction allows you to adhere to MVC paradigm when designi
Read tutorial ↗You will frequently face situations where there are more than one or two buttons submitting the form. You would want to execute different code based on the buttons clicked. If you
Read tutorial ↗The configurable controller is the answer to the Fat controller problem. In a Fat Controller, the programmers can code "if" blocks on need basis. Not so with the configurable contr
Read tutorial ↗Struts request handling lifecycle as a happy day scenario is from the point the user submits an html form till the user sees the next page. In reality, users of your web applicatio
Read tutorial ↗Let's start with developing your first Struts application. Here are the steps involved in creating the Struts application.
Read tutorial ↗Between messages "First Name is Required" and "Last Name is Required", only the field name changes. We can reuse the message as {0} is required. {0} is replaced with the display na
Read tutorial ↗