The correct format will be
out.println("<INPUT type=\"Next\" name=\"bsubmit\" value=\"next">\");
or
out.println("<INPUT type='Next' name='bsubmit' value='next'>");
----- Original Message -----
From: "Hall, Philip" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 2:45 PM
Subject: Re: Servlet form question ?? Thanks
> > Could you please tell me what's wrong here :
> >
> > TempServlet.java:64: ')' expected
> > out.println("<INPUT type="Next" name="bsubmit" value="next">");
>
> Programming 101 - How to use quotes in string values:
>
> Embbeded quotes must be prefixed with the escape character '\', for
example;
>
> out.println("<INPUT type=\"Next\" name=\"bsubmit\" value=\"next\">");
>
>
===========================================================================
> 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