Presents your JAVA E-NEWSLETTER for February 6, 2003 <-------------------------------------------> HANDLE CGI FORMS WITH SERVLETS For any developer charged with creating reliable Web-based form-processing applications, Java servlets are an indispensable resource--provided you know how to optimize servlets for CGI-oriented tasks. Servlets allow you to avoid the complicated tasks of capturing and preserving session-dependent variables, which is a large portion of the work when creating Web forms. Java servlets apply standard Java method calls to query string data, which circumvents the laborious process mentioned above. The key to effective use of this technique is laying out your method calls properly and cleaning up afterward with the appropriately named destroy method. If you think this sounds too easy, remember that any Web-based form data application must be capable of handling multiple simultaneous requests from multiple simultaneous users; building in handling elements for this functionality is no simple feat. This article discusses how best to use Java servlets to handle Web-based forms. Find out how to avoid the common CGI development problems and create sleek, efficient, form-handling code. http://cl.com.com/Click?q=46-198wInpwGNBR8st2_F3JvHNk0YRr ----------------------------------------