Thanks,

Sorry, I did not make it clear. I actually need to
retrieve form data after I click go button. So,
basically, it has to go to action path specified in
struts-config.xml after clicking on the button. 

Can I simply replace "sample.jsp" with action path
specified in struts-config.xml in your code?

regards,



--- Aleksandr Shneyderman <[EMAIL PROTECTED]>
wrote:
> <input type="button" value="Click Me"
> onclick="document.location='<html:rewrite
> page="sample.jsp" />'">
> 
> > -----Original Message-----
> > From: Rick Col [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 05, 2003 2:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: How to click on a button to link to a
> page?
> >
> >
> > Hi,
> >
> > If I have a go button like this:
> >
> > <html:submit><bean:message
> > key="button.go"/><html:submit>
> >
> > once I click on this button, I want it to go to
> > another jsp page sample.jsp. How can I do that? Is
> it
> > possible to use <html:link> to do the job?
> >
> > regards,
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to