JSP best practices: Error handling in custom tags: "As you introduce more interactivity into your custom tags, you also introduce greater potential for error, particularly in the form of invalid arguments. In this installment of JSP pest practices, Brett McLaughlin shows you how to trap and override an IllegalArgumentException at its source.
Up to this point in our discussion of JSP custom tags, we've managed to sidestep the important detail of error handling. Many of the best practices that we addressed in the first half of the series dealt with functionality provided by your JSP container, such as the param, out, and import tags. In these cases, error handling was the domain of the JSP specification and Web server implementation, which means that even if we wanted to do something about it we couldn't."
Wednesday, January 26, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 iSeries NetServer Disabled user profiles
- Library list for Web server
- Create a Custom Live Linux CD - Leveraging BusyBox and OpenSSH
- Super $500 Myth Project
- Encode HTML Entities - Showing code in blogs
- Search for text in vi or vim
- Thomas Dudziak's Weblog
- IBM eServer iSeries - iSeries NetServer: Command Line Setup
- HOW TO make a Powerbook in to a Wi-Fi access point!
- Reno County is preparing to move from an AS400 computer system to a personal-computer-based system
No comments:
Post a Comment