I take it by button you mean submit buttons? Or buttons that are images?

Well, I personally hate the ugly html buttons. What I do is use images for
submit buttons and link buttons.

<input type="image" src="/images/image.gif" border="0"
onclick="this.form.action='/path/page.jsp'">
<a href="/path/page2.jsp"><img src="/images/image2.gif" border="0"></a>

Hope that helps.


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of S. Chen
> Sent: Thursday, January 18, 2001 10:07 AM
> To: [EMAIL PROTECTED]
> Subject: button link to next page?
>
>
> Hi,
>
> Can I link a button to a new page?  Since I have 4 buttons on one page, I
> only want two buttons to use submit type and the other two's type are
> buttons, then I use links to make them to go to other pages.  How do I do
> that?
>
> thanks very much!
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to