Ok, I don't know if this is what you're after, but to automatic submit a form can't be done in JSP, you have to use JavaScript
On your body-tag do this <body OnLoad="document.myForm.submit();"> Now, your form will be submittet automatic when someone enter the page... I don't know what you're trying to do... This seems like a bad solution... If you should have automatic Login, use Cookies, it's the only way I guess. Then you don't need to autosubmit a form, just do the checkup first, and if you find your cookie, sendRedirect or forward (your choise) to the correct page.... You wrote "Logging" but I guessed that you didn't want that... If you need a good logging functionality, look at the log4j (http://jakarta.apache.org/log4j/docs/documentation.html), it seems like a good log Package... That's all I can do with the info you gave... Regards Jan -----Ursprungligt meddelande----- Från: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]För jyoti chereddy Skickat: den 17 september 2002 20:10 Till: [EMAIL PROTECTED] Ämne: Automate Form submission Can someone help me here. I want to automate Logging into a site , submitting a form and then reading the results page. I would greatly appreciate it if someone can give me a lead in this. thanks, Jyoti _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com