u have to add additional escape character for double qoutes inside
out.println statement.
So your out.println () should be like this,

out.println("<INPUT type="\Next\" name="\bsubmit\" value="\next\">");


-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: Servlet form question ?? Thanks


Could you please tell me what's wrong here :

C:\tomcat4\webapps\displayRecord\WEB-INF\classes>javac TempServlet.java
TempServlet.java:64: ')' expected
out.println("<INPUT type="Next" name="bsubmit" value="next">");
                          ^
TempServlet.java:65: ')' expected
out.println("<INPUT type="Previous" name="bsubmit" value="previous">");
                          ^
2 errors

Thanks
_________________________________________________________________
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