O'Reilly logo

Advanced JavaServer Pages™ by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. EVENT HANDLING AND SENSITIVE FORM RESUBMISSIONS

Topics in this Chapter

  • Event Handling for a Model 2 Framework

  • Sensitive Form Resubmissions

    • Trapping Form Resubmissions with a Model 2 Framework

    • Trapping Form Resubmissions Without a Framework

  • Conclusion

Event handling is a mainstay of traditional graphical user interfaces; for example, Swing provides numerous event handlers for a wide variety of events, such as mouse, window, and focus events.

Prior to the Servlet 2.3 Specification, servlet containers only fired events when objects were placed in, or removed from, a session.[1] The Servlet 2.3 Specification adds support for application life cycle events, so which lets developers can react to the creation and invalidation of servlet contexts and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required