Thank you very much Kerry for your reply. You are right, and the same as the suggestion from Ram in another
thread:
both:
<a href="javascript:submitIt()">SUBMIT</a>
or
<html:link href="javascript:submitIt()">SUBMIT<html:link>
will work in my case. However it will not populate form fields if using:
<html:link action="login" onklick="javascript: submitIt()">SUBMIT</html:link>
the reason is just as you said. Thanks a lot again.
David