JavaServer Page

January 30, 2007

Summary type=”email”/> b Asserting a single parameter based

Filed under: JSP Tag Libraries — webmaster @ 9:04 pm

CHAPTER 7 Building a tag library for sending email We also covered how assertions can be implemented. All applications need to check their input parameters, and normally this requires a fair amount of Java code. Yet, as we saw, a great deal of what is needed for parameter checking can be accomplished declaratively, using tags similar to the assertions developed for our tiny application. The key issue here is not that we can cover 100 percent of possible validations, but that we can extend our assertions whenever there is a need and that the code within the assertions can now be reused without any modification. Ultimately, the goal of this chapter was to apply the previously discussed concepts of tag development to a library with real-world use. A gradual approach was chosen to enforce not only the mechanics of tag development, but also to understand fully the tools at our disposal for producing a well-designed, robust solution.

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Java Web Hosting