>>> Avidan Ross <[EMAIL PROTECTED]> 10/13/99 4:18:20 AM >>> >I am currently trying to develop a server side application which will act as >a help guide for users. Aaaggghhh M$! >I am having the user fill out a long information form gradually (first page >asks for name, second page is address etc....) At the end of the process, I >would like to Post all of the collected information to another script, can a >servlet post to an external script(on another server)? Just the same as in normal Java. Use HttpURLConnection. >what is the best way >to store the information after each post (I was thinking about creating new >hidden fields within the form after each one, or maybe using cookies)? With a session. Probably best to define a class with instance fields representing the fields in your form and create one instance on the class per user, then fiill in the fields as you go. >The second portion is just a bunch of help pages to go through: >It will also display an informational page, and then have a next button so >they can see the next page. I dont want the HTML to be hard coded within >the Servlet, so Im using external data files. Whats the best way to keep >track of what the user has already seen? A hashtable in the session? A vector in the session? A linked list in the sesison? Take your pick, me - I'd use a hash. Nic ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
