Struts Tips

Ted Husted is a software engineer and team mentor. His specialty is building agile web applications with open source products like Yahoo! User Interface Library, Struts, Spring, iBATIS, and MySQL, for either Java or Microsoft .NET, and helping others do the same.



Struts 2 Tips

TIP TITLE
#1 Always set devMode to false in production
#2 Use namespaces to organize your application into logical "modules"
#3 Place each namespace into its own Struts configuration file

Struts 1 Tips

TIP TITLE
#1 Use an ImageButtonBean to represent an image button
#2 Use DispatchAction to organize related operations
#3 Use LookupDispatchAction for a JavaScript-free dispatch
#4 Formatting output with MessageResources
#5 Use coarsed-grained ActionForms
#6 Use an array to capture multiple parameters
#7 Use Multibox to manage checkboxes
#8 Use result objects to transfer values
#9 Use rewrite to reference HTML assets
#10 Use Struts JSP Tags to create dynamic JavaScripts
#11 Use smart forwarding to dispatch actions 
#12 Use smart forwarding to create menuing systems
#13 Use Display* helpers to convert or transform properties
#14 Use optional forwarding to extend Actions
#15 Use chained exceptions
#16 How to (not) check radio buttons
#17 Don't settle for <html:error/>
#18 Use EJBs with care

links - news - home

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.