Struts

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ]

Articles
Books
Examples
Links
  Presentations
Tips
Tutorials
  

Articles:
  • Struts action mappings: Devide Et Impera by Michael Jouravlev   - [Clicks: 354]
    This article discusses different combinations of a Struts action class and a form bean and how these combinations can be used. For each combination, consequences are shown, as are usage tips. The combinations shown are 'Full action', 'Form-only action', 'Form-only call sequence', 'Action class-only action', 'JSP-only action', and more.
    http://www.theserverside.com/articles/article.tss?l=StrutsActionMapping - Dec, 2004
  • Struts, JavaServer Faces, and Java Studio Creator: The Evolution of Web Application Frameworks by Janice J. Heiss   - [Clicks: 300]
    Sun Microsystems', Craig McClanahan, the creator of the Apache Struts Framework, co-specification lead for JavaServer Faces 1.0, and prime architect for Sun Java Studio Creator's new release, explains all three.
    http://java.sun.com/developer/technicalArticles/Interviews/jsf_mcClanahan.html - Dec, 2004
  • Struts Best Practices by Brijesh Deb   - [Clicks: 536]
    Struts is a popular Web presentation framework that has garnered considerable community support. This article aims to highlight some best practices that can be applied in medium to large projects to aid efficient development and low-maintenance quality code. In the course of this article we shall explore ways to optimize the design and development of Struts-based applications.
    http://www.jaxmagazine.com/itr/online_artikel/psecom,id,648,nodeid,147.html - Dec, 2004
  • Error validation and exception handling in portlets, using the Struts Portlet Framework by Rajender Sriramoju   - [Clicks: 365]
    Having a good design and implementation for error validation and exception handling enables applications to respond gracefully in abnormal conditions. This article tells how you can leverage error validation and exception handling features, which are built into the WebSphere Portal Struts Portlet Framework, in your portlet applications.
    http://www-106.ibm.com/developerworks/websphere/library/techarticles/0411_sriramoju/0411_sriramoju.html - Nov, 2004
  • Extending Struts by Sunil Patil   - [Clicks: 163]
    Sunil Patil shows the three basic means by which you can extend the functionality of Struts to suit your web application.
    [Includes sample code]
    http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html - Nov, 2004
  • Redirect After Post 2. Implementing Redirect-after-Post pattern using Struts by Michael Jouravlev   - [Clicks: 285]
    This article demonstrates the benefits of Redirect-after-Post pattern using a simple web application. See my previous article " Redirect-after-Post pattern in web applications" for the discussion of the concept.
    [Includes source code]
    http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost2 - Nov, 2004
  • JavaServer Faces (JSF) vs Struts by Roland Barcia   - [Clicks: 261]
    My JSF article series and Meet the Experts appearance on IBM developerWorks received a lot of feedback. I would have to say, the most common question or feedback came along the lines of comparing Struts to JSF.
    http://www.sys-con.com/story/?storyid=46516&DE=1 - Sep, 2004
  • Migration Guide. Run a servlet-Struts application as a portlet-Struts application in WebSphere Portal v5. by Asim Saddal   - [Clicks: 292]
    This article offers guidance to migrating existing servlet Struts-based applications to portlet Struts-based applications - with a minimum of steps - using WebSphere Studio Application Developer v5.0 with the WebSphere Portal v5.0 test environment
    http://www.sys-con.com/story/?storyid=46512&DE=1 - Sep, 2004
  • Solving the logout problem properly and elegantly by Kevin H. Le   - [Clicks: 229]
    This article presents solutions for properly handling the logout problem along with sample programs. Author Kevin Le starts by describing an ideal password-protected Web application. He then uses sample programs to illustrate how the problems manifest themselves and discusses the solutions required to fix the problems. By centering the discussion on JavaServer Pages (JSP), the article presents the concepts that can be easily understood and adopted for other Web-tier technologies. Le concludes his discussion by showing how building Web applications with Jakarta Struts can more elegantly solve the logout problem. Sample programs for both JSP and Struts Web applications are included.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-09-2004/jw-0927-logout.html - Sep, 2004
  • Unit Test Your Struts Application by Lu Jian   - [Clicks: 312]
    How to insert unit-testing opportunities into Struts applications.
    [Includes sample code]
    http://www.onjava.com/pub/a/onjava/2004/09/22/test-struts.html - Sep, 2004
  • Struts best practices by Puneet Agarwal   - [Clicks: 315]
    Multiple options are available for solving problems with Struts. When deciding among these alternatives, the choice must be based on parameters such as the scale of work and availability of time. However for large applications and the best quality-of-service needs, every decision becomes crucial and extra efforts are required to choose the appropriate solution. To help you make these decisions, Puneet Agarwal discusses some of the best practices for developing Struts-based applications.
    http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts.html - Sep, 2004
  • Web app security using Struts, servlet filters, and custom taglibs by Swaminathan Radhakrishnan   - [Clicks: 151]
    Web-based business applications need stringent security regulations. Within an application, each different role requires a predetermined set of access rights. In this article, Swaminathan Radhakrishnan explains how you can use Struts, taglibs, and servlet filters to develop a powerful and flexible security model that can be used directly by almost any Web-based business application.
    [Includes source code]
    http://www-106.ibm.com/developerworks/web/library/wa-appsec/ - Sep, 2004
  • Rapid Struts Development by Harshad Oak   - [Clicks: 173]
    This article shows how Oracle JDeveloper 10g can help you automate a lot of Struts tasks and develop Struts applications. It details the development of a sample Struts application that demonstrates the usage of various Oracle JDeveloper 10g tools, such as the new Struts flow diagram.
    [Includes a sample application]
    http://www.oracle.com/technology/oramag/oracle/04-sep/o54jdev.html - Sep, 2004
  • The Chain of Responsibility pattern's pitfalls and improvements by Michael Xinsheng Huang   - [Clicks: 101]
    The classic Chain of Responsibility (CoR) pattern requires the individual chain node classes to decide whether the next node should be called to fulfill the chain's responsibility. This is a design flaw because, in practice, such a call can be easily forgotten. In this article, CoR implementations of Microsoft Windows global hook and Java servlet filter framework are used as examples to demonstrate that flaw. A solution is proposed, and an action chain that allows multiple actions to handle an HTTP request in the Struts framework is discussed.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-08-2004/jw-0816-chain.html - Aug, 2004
  • Best practices for Struts development by Palaniyappan Thiagarajan, Pagadala J Suresh   - [Clicks: 170]
    Leverage your Web application development using the flexible Struts framework. Here, the authors explore best practices that you can follow to optimize this open source and mature framework. Learn to use standard, yet valuable, Struts components, including ActionForm, Action class, and ActionErrors.
    http://www-106.ibm.com/developerworks/web/library/wa-struts/ - Jun, 2004
  • Using DAOs in Apache Struts by Keld H. Hansen   - [Clicks: 224]
    Data Access Object (DAO) are one of the more popular designs patterns today and this month Keld explains how you can use DAOs effectively in your Struts designs.
    [Includes source code]
    http://javaboutique.internet.com/tutorials/ApacheDAOs/ - Jun, 2004
  • End-to-end internationalization of Web applications by Mike Gavaghan   - [Clicks: 156]
    You need more than just tools and supplies to build a house. Hammer and nails are indispensable, but, before you start hammering together boards, you need to know the house's electrical needs, plumbing placement, and appropriate building codes. Likewise, when building an internationalized Web application, you need to know more than simply what tools the JDK offers to support your efforts. Reader, Locale, and ResourceBundle classes are your tools, but you still must confront other complexities that will drive how you use those tools as you nail together your application. Internationalization and localization are about more than rendering pages in locale-specific languages. They're about building applications to be globally aware from the browser all the way through to the database. In this article, you look at where to address character encoding when building internationalized Web applications, how localization affects data format, and additional internationalization tools provided by Apache Struts. You also learn how to overcome gaps in the standards and in the Struts framework as well as what pitfalls you might face during implementation.
    http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n.html - May, 2004
  • Reuse Tiles and Simplify UI by James Holmes   - [Clicks: 142]
    The Tiles framework adds a great deal of value to the core Struts framework by providing a powerful templating system that promotes reuse. You can save time and enhance your Struts application development by using the Tiles framework with your JSP application.
    http://otn.oracle.com/oramag/oracle/04-may/o34dev_struts.html - May, 2004
  • A Practical Guide for Integrating EJB and Struts by Stephen Lum   - [Clicks: 123]
    EJB and the Struts framework each have received plenty of coverage individually, but what about leveraging EJB and Struts together? This tutorial lays out a complete step-by-step guide to integrating these two technologies.
    http://www.devx.com/Java/Article/21065 - May, 2004
  • Oracle ADF Data Binding Primer and ADF/Struts Overview by Steve Muench   - [Clicks: 33]
    This article explains the basics of the new Oracle Application Development Framework's data binding layer (based on JSR-227), gives an overview of the ADF runtime and design time data binding facilities, and puts the concepts into practice with a simple example application.
    http://otn.oracle.com/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html - Apr, 2004
  • Implementing page navigation in portal applications using Struts portlets by Zeynep Latif   - [Clicks: 265]
    This article describes how to use the multiple module support built into the Struts portlet framework to organize Web navigation schema.
    [Includes source code]
    http://www-106.ibm.com/developerworks/websphere/techjournal/0404_latif/0404_latif.html - Apr, 2004
  • Developing Struts with Easy Struts for Eclipse by Nancy Chen Junhua   - [Clicks: 148]
    This article shows you how to develop a Struts application in the Eclipse IDE, with the help of the Easy Struts plug-in. You'll get an introduction to Easy Struts, installation and configuration steps, and instructions on building a basic Struts application through a progressive example. Different ways of enhancing the Struts application -- such as connecting to a database, modularizing the application, internationalizing and localizing content, handling exceptions, and creating custom plug-ins -- are also covered. Finally, you will learn how to deploy your Struts application on the Tomcat Web server.
    [Includes source code]
    http://www-106.ibm.com/developerworks/library/os-ecstruts/ - Apr, 2004
  • Wiring Your Web Application with Open Source Java by Mark Eagle   - [Clicks: 221]
    Building a web application with Java can be a complex process when architecting a combination of UI, business logic, and persistence. This article introduces a way to leverage open source software to lessen the burden.
    [Includes source code]
    http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html - Apr, 2004
  • Migrating a Struts application to WebSphere Portal by Colin Yu   - [Clicks: 172]
    IBM WebSphere Portal has a built-in Struts Portlet Framework that enables Struts to extend its popularity to portal applications. This article shows how existing Struts applications can be migrated using the Struts Portlet Framework and then deployed in WebSphere Portal.
    [Includes source code]
    http://www-106.ibm.com/developerworks/websphere/techjournal/0403_yu/0403_yu.html - Mar, 2004
  • Succeeding With Struts: Dynamically Sized Forms by James M. Turner   - [Clicks: 99]
    Discover the dirty details on how to implement dynamically sizable forms within Struts.
    http://www.developer.com/java/ejb/article.php/3321521 - Mar, 2004
  • StrutsTestCase: Drilled-down Testing for Struts-based Java Apps by Wellie Chao   - [Clicks: 55]
    This article demonstrates both mock testing and in-container testing of Web-based applications built with the Struts Model-View-Controller framework. StrutsTestCase, a small testing library that builds on top of the JUnit testing framework, allows you to perform both testing methodologies on Struts applications.
    [Includes source code]
    http://www.devx.com/Java/Article/20198 - Feb, 2004
  • Security in Struts: User Delegation Made Possible by Werner Ramaekers   - [Clicks: 68]
    Jakarta Struts is not the web application framework that will solve all of your web application needs, but that was never its intent. Since Struts is easily extensible, it is not very hard to add the missing parts yourself. We have shown in this article that creating a user security-delegation extension to Struts only requires an extension of the ActionMapping class.
    [Includes sample code]
    http://www.onjava.com/pub/a/onjava/2004/02/18/strutssecurity.html - Feb, 2004
  • Advanced Forms Handling in Struts 1.1 by Keld H. Hansen   - [Clicks: 84]
    Struts has a rich set of HTML-tags for building form controls. Unfortunately it's often rather difficult to predict the exact syntax to use in a given situation. This month Keld explores some of the more common issues when using creating these forms with Struts.
    http://javaboutique.internet.com/tutorials/strutsform/ - Feb, 2004
  • ActionForm or DynaActionForm - Making the choice by Srikanth Shenoy   - [Clicks: 125]
    … While the former hampers the developer productivity, the latter leads to overlap of responsibilities and headaches. Both options are not ideal. Struts 1.1 has solved this problem by introducing DynaActionForm. Although originally designed for developer’s ease of use, it has been serving the purpose of role separation in a project very well. One can envision an ideal project development as follows.
    http://weblogs.java.net/pub/wlg/964 - Jan, 2004
  • Developing and Deploying a Struts Application as a WebSphere Portal V5 Portlet by Tim Hanis, Jim Bonanno, Lisa Tomita   - [Clicks: 205]
    This article describes and illustrates how to use the Jakarta Struts Framework, which is incorporated into the IBM Struts Portlet Framework, to develop and deploy an application as a portlet that runs under IBM WebSphere Portal V5.
    http://www-106.ibm.com/developerworks/websphere/library/techarticles/0401_hanis/hanis.html - Jan, 2004
  • Check Your Form with Validator by James Holmes   - [Clicks: 126]
    Simplify Struts development with Validator's rich set of built-in validations.
    http://otn.oracle.com/oramag/oracle/04-jan/o14dev_struts.html - Jan, 2004
  • The Power of Three - Eclipse, Tomcat, and Struts by Keld H. Hansen   - [Clicks: 288]
    This month Keld examines how Eclipse, Tomcat, and Struts can be a powerful set of tools, which can really help you get your Java projects done in a very solid development environment and the best part is they are all free.
    http://javaboutique.internet.com/tutorials/three/ - Jan, 2004

[Top]

Books:
  • Struts Recipes  by George Franciscus, Danilo Gurovich   - [Clicks: 120]
    Struts Recipes is a detailed collection of useful strategies to help developers and architects solve real-life Struts business problems. The book is filled with “tried and true” techniques, complete with detailed code listings, designed to save the reader time and money by jumping straight to the answer. In addition to a solution, each recipe clearly defines the business problem, provides the reader with the necessary background to understand the recipe, and discusses the implications of using the solution. The book highlights many little known “gotchas” and is peppered with valuable best practices to ensure your applications are secure, robust and maintainable.
    Manning Publications, Paperback - Nov, 2004
  • Struts : Essential Skills  by Steven Holzner   - [Clicks: 172]
    Awaken your Java programming skills by learning to apply the Struts framework. Get a fresh approach to learning Struts with a book that gives you a hands-on approach and step-by-step examples that successfully illustrate each topic. Follow along and create Web and Struts applications. Master view, model, and controller creation, and learn the Strusts HTML, bean, and logic tags. Type or download program-ready examples to build and deploy a wide range of Struts applications.
    McGraw-Hill Osborne Media, Paperback - Jul, 2004
  • Programming Jakarta Struts, 2nd Edition  by Chuck Cavaness   - [Clicks: 185]
    If you want to use the Struts Framework to its fullest potential, this is the book for you. Programming Jakarta Struts, 2nd Edition covers everything the successful earlier edition did as well as plenty more: now fully up to date with Struts 1.1, this edition covers the latest material on tag libraries and the new JavaServerFaces (JSF) APIs and even includes all-new chapters on JSF, JSTL/EL, and security.
    O'Reilly Media, Inc., Paperback - Jun, 2004
  • Struts: The Complete Reference  by James Holmes   - [Clicks: 287]
    In his new book, James Holmes, a “Committer” on the Struts development team, provides you with the first comprehensive treatment of Struts 1.1. His coverage begins with a comprehensive tutorial, followed by in-depth coverage of API, config files, Struts’ tag library, and an entire section on end-to-end application development. He also emphasizes ways to handle Struts’ most complex concepts including tiles, validators, security, and internationalization. Insider tips and techniques for making an amazing Struts application take you to that next level of manipulating this cutting-edge framework.
    [Source code will be available online.]
    McGraw-Hill Osborne Media, Paperback - Apr, 2004
  • Jakarta Struts For Dummies  by Mike Robinson, Ellen Finkelstein   - [Clicks: 102]
    As a Web developer, you’ve probably heard a lot about Jakarta Struts, the popular open source framework for creating Web applications in Java. Struts is the de facto standard for Java-based Web applications; in fact, some people consider it the yardstick by which all other Web application frameworks are measured. ...
    For Dummies, Paperback - Mar, 2004
  • Struts Survival Guide. Basics to Best Practices  by Srikanth Shenoy, Nithin Mallya   - [Clicks: 83]
    This book has a lot of tips and strategies for J2EE projects. Coverage of Struts Tags is very practical and timely. (NOT the regurgitation of freely available material). It also provides robust exception handling mechanisms for Struts applications and how to effectively extend Struts through its extension points.
    [A free sample chapter in PDF format is available for download.]
    ObjectSource Publications, Paperback - Jan, 2004

[Top]

Examples:
  • AppFuse by Matt Raible   - [Clicks: 268]
    An application for starting your web applications. Checkout from CVS and execute "ant -Dapp.name=yourApp -Ddb.name=database" to instantly be up and running with a Tomcat/MySQL app. Uses Ant, XDoclet, Hibernate, JUnit, Cactus, StrutsTestCase, Canoo's WebTest, Struts Menu, Display Tag Library, JSTL and Struts (including Validator and Tiles). Features include CMA, Remember Me, Self Registration, Password Hint. The fuse to start your apps.
    [Version 1.3]
    http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse - Jan, 2004

[Top]

Links:
  • Practical Java Design with Struts and JDO by Amir Firdus   - [Clicks: 72]
    Many times we read excellent articles with refreshing ideas. Every so often there is a book that inspires us. From time to time we would like to build a prototype. Soon after we sit in front of our computers and face the same problem, days if not weeks to do anything. For this reason, this book and companion sample application have one primary goal, to put together practical and affordable environment that enables fast application development.
    [Online book]
    http://www.firdus.com/fs-webemp/doc/index.html - 2004

[Top]

Presentations:
  • About Faces: The JavaServer Faces API and how it relates to Struts by Ed Burns   - [Clicks: 287]
    Presentation Goals: Demonstrate how JavaServer Faces makes it easier for you to develop Java web applications that are both usable and scalable. Cover some differences, similarities, and an integration strategy with Struts.
    https://javaserverfaces.dev.java.net/presentations/20040729-OJUG.pdf - Jul, 2004 - (PDF - 363 Kb)

[Top]

Tips:
  • Porting a struts-based web application module into eXo Portal by Masoud Omidvar   - [Clicks: 38]
    ... First of all, I should thanks Punit Pandey for providing a good comparison among java portals solutions. When I read his article, I could make my decision to choose a portal as a platform for developing tomorrow application! Thank Mr. Benjamin Mestrallet and his staff for providing this wonderful portal. The following steps should be perform to port a struts-based web application module into eXo Portal: ...
    http://exo-struts.blogspot.com/2004/09/porting-struts-based-web-application.html - Sep, 2004
  • Controlling Logging in Struts Based Applications by Duncan Mills   - [Clicks: 179]
    Applications that are built in JDeveloper 10g using the Struts controller will, by default, automatically log informational messages to the OC4J console. An example of these messages is: ... The messages provide useful progress information for the developer, however, when deploying the application you may want to suppress the feedback, and of course when debugging the application you may actually need more information from Struts. The Struts controller uses the Apache Commons-Logging framework to handle it's logging and diagnostic needs and this article describes how to configure that logging mechanism.
    http://otn.oracle.com/products/jdev/tips/mills/Struts-logging.html - May, 2004

[Top]

Tutorials:
  • Build Web sites with BPEL business processes by Diana Lau   - [Clicks: 234]
    This tutorial explains how to create a Web site that uses business processes to perform daily business operations. With this example, you build a Web site that takes pizza orders. If the customer has a good credit history, the order is placed, and the time needed for pickup or delivery is calculated and shown on the confirmation page. If the customer has bad credit, an order cannot be placed and the customer is informed.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/ws-dw-ws-buildweb-i.html - Jul, 2004
  • Struts-based portal applications: Model and develop them with WebSphere Studio by Jeff K. Wilson   - [Clicks: 734]
    Struts is a very popular framework that adds a flexible control layer to building Web based applications using common standard technologies like servlets, JavaBeans components, resource bundles, and custom tag libraries. This tutorial provides a hands-on approach to developing Struts based portal applications using WebSphere Studio v5.1.2 and the Portal Toolkit v5.0.2.2.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/i-dw-wes-strutsportal-i.html - Jul, 2004
  • Adding Spice to Struts - Part 2 by Samudra Gupta   - [Clicks: 170]
    This month, we explore some other ways of extending the DynaForms in Struts to model the inheritance relationship and delve into another interesting aspect of Struts by using multiple resource bundle files in a seamless manner.
    http://javaboutique.internet.com/tutorials/Dynaform/index-6.html - Jan, 2004
  • A Brief Introduction to Struts – Expression Language by Benoy Jose   - [Clicks: 374]
    Having problems utilizing Struts - Expression Language? This week we take a look at the some of the tags used in this language and see if we can add some more usability upon this fantastic framework.
    http://javaboutique.internet.com/tutorials/Struts_EL/ - Jan, 2004
  • Modifying an Application to Use DynaActionForms   - [Clicks: 241]
    In this tutorial we are going to modify our first application (GuessGame) to use a DynaForm instead of a FormBean. You should first create the application following the first tutorial or download this jar file and import it into Struts Studio.
    http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial-dynaform.html - 2004
  • Struts Validation (Client and Server Side)   - [Clicks: 549]
    In this tutorial we will show you how to use the Struts Validation Framework. This framework is very powerful but at the same time can be very complex. Even implementing a simple validation, for example, checking if a value was entered, can be a tedious task. However, we are not going to get into any complex theory behind Struts validation. There are plenty of books that do that. But, we will show you how to add simple validation to your application and hopefully you will be able to take it from there.
    http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial-validation.html - 2004
  • Trying Struts Internationalization (i18n)   - [Clicks: 320]
    Struts Framework has built-in support for Internationalization. In other words, you don't need to worry about writing pages in different languages. All you have to do is to create a resource file for each language that you want. The resource file will contain titles, messages, and other text in the language of your user.
    http://www.exadel.com/tutorial/struts/5.2/strutstutorials-i18n.html - 2004

[Top]