I am trying to submit a form with users email and password, such that when
the user ckicks on next the checkCustomer.do action is executed.
I am using html:submit to display the next button as below:"
<span class="right"><html:submit value="next"/></span> "
But i do not want to use html:submit as i have to display a img button .
How can i do that.
I have tried to use : <html:link href="checkCustomer.do"><img
src="img/next.gif"></html:link> --
but it does not work as the form attributes are never set.
And also i tried to write a javascript as
function gotoNext(){
document.forms[0].action=checkCustomer.do;
document.forms[0].submit();
}
and in jsp use a link to call javascript function, even that does not work.
Below is my jsp file...
<html:form action="/checkCustomer">
<bean:message key="prompt.emailaddress"/>
<html:text property="emailAddress" />
<br>
Enter your password:
<html:password property="password" redisplay="false"/>
<br>
<span class="left"><html:link href="chooseProductOptions.do"><img
src="img/back.gif"></html:link></span>
<span class="right"><html:submit value="next"/></span>
Any help is greatly appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]