October 5th, 2000, 11:24 AM
currently my HTML loads a servlet when the SUBMIT button is activated. I want a servlet to run when the page loads.
Don't know much about Java or HTML - need advice on TAG to write at both ends (i.e within HTML and Servlet).
October 6th, 2000, 07:49 AM
If the page has something like:
<form method="post" action=(your servlet here) name="theForm">
you can submit it at page load by making the body tag of the page :
I'm not sure what you mean by "TAG at both ends" - your servlet (as specified in the action of your <form> tag needs to have a doPost() method that handles the post.
October 10th, 2000, 12:28 PM