ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Handling Multiple Submits
Subject:   Poor Solution at Best
Date:   2003-04-17 07:49:54
From:   anonymous2
This solution may have been considered adequate in a trivial solutions sandbox back in the days of Servlet 2.0 - but, now-a-days there are much more robust, and much more adequate solutions. Using the pre-existence of a session as a handler is completely useless in a modern application (especially a model 2 application). What if this form submission needs information from previous form submissions? (A multiple page process).


This solution is entirely inadequate. Use a synchronizer token or something along those lines if you want to succeed.


It felt like this article was written in 1999, not 2003 - most of the information, although useful to new programmers, needs to be revised with focus on new environments. First comment on that? JSPS!!! Embedded HTML in a servlet? Not worth the time!


1 to 1 of 1
  1. Poor Solution at Best
    2003-04-24 00:08:03  anonymous2 [View]

    • Poor Solution at Best
      2003-04-27 14:51:41  anonymous2 [View]

1 to 1 of 1