Tutorials : Adding Spice to Struts Part 2 :

The source code…

The source file included with this contains the following source files.

  • CustomActionServlet.java
  • CustomMessageResources.java
  • web.xml
  • struts-config.xml
  • index.jsp

Following the source, we will get a definitive idea about how this new framework can be used.

Conclusion…

This month we completed the implementation for modeling an inheritance relationship with Dynamic Action Forms and their configuration. We also have created an effective way of using multiple resource bundles without the hassle of remembering which resource bundle they belong to. Hope this gets you going and makes your Struts application more streamlined and manageable. See you next month!


Samudra Gupta has six years of Java related application development experience. He has been involved in various research based projects in Java including e-commerce based and application design and development projects. He is based in the United Kingdom. In his free time, he is a columnist in different Java Magazines and Journals and loves to play contract bridge.


How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.