Hi, Please send me the code, so I can have a look and maybe help you. I try to visit the link you wrote but the web server answer me that the page doesn't exist. Rinaldo [EMAIL PROTECTED] -----Messaggio originale----- Da: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]Per conto di ChoKamir (Jelmer) Inviato: marted� 28 agosto 2001 21.58 A: [EMAIL PROTECTED] Oggetto: How to make a good working form with servlets?? Hi I'm making a form for ppl who can send me an Email. But i stuck on a few thing an found an solution but i thought there are better ways to do this. I would make a form like that of Hotmail, Lycos and lot more sites. When you fill in wrong info it returns to the site, lets all te correct fields dissapear and put an error text above the incorrect fields. My solution was I made a kind of templates with of HTML but with tag between it like #errorE-Mail Address# these tags told the servlet where to display the error tag of the E-Mail Address field. The good field let is dissapear to with tags and put the values in a session. Till now it works good, a long list and much thinking about the source code of the servlet to do it so efficient as possible. But now i reached a problem. When you fill i from the 2 field one correct and one incorrect the page returns with only the incorrect vissible and the error text above it, the correct dissapeared. But when you filled in the field again incorrect the page returns but now both field are vissible again. I could make a solution on this problem but have to change my hole source code. For a live example of the servlet go to http://www.mycgiserver.com/servlets/apocalypse.Mail and if you want to see the source code. Reply and i'll post it. Thx Cho-Kamir I hope you guys know a better way to do this ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
