Can use Javascript to achieve it. Sample code as follows <form id = "frm" name ="frm" action = "relevantaction" method="POST" > ------- ------ </form>
<script> window.onload = function() { document.getElementById("frm").submit(); } </script> -----Original Message----- From: albert kao [mailto:albertk...@gmail.com] Sent: Thursday, October 03, 2019 17:19 To: Struts Users Mailing List Subject: How to auto submit a jsp page after loading How to auto submit a jsp page after loading is done? i.e. after a jsp page is completely loading, it will auto submit - advance to the next page without one of the Submit buttons is pressed or a link is clicked. This is desired for saving time when testing a web application. ________________________________ दावात्याग : यह ईमेल पावरग्रिड के दावात्याग नियम व शर्तों द्वारा शासित है जिसे http://apps.powergridindia.com/Disclaimer.htm पर देखा जा सकता है। Disclaimer: This e-mail is governed by the Disclaimer Terms & Conditions of POWERGRID which may be viewed at http://apps.powergridindia.com/Disclaimer.htm