| Author |
Head First Java 2nd ed Question
|
Jim Moffat
Greenhorn
Joined: Sep 18, 2006
Posts: 8
|
|
Two questions: (1) Page 629, the "KathyServlet" example, I am getting an error on the line out.println(" make another phrase "); The error says
C:\Java Stuff>javac PhraseOMaticServlet.java PhraseOMaticServlet.java:19: illegal escape character out.println(" make another phrase</<br /> p>"); ^ PhraseOMaticServlet.java:19: ')' expected out.println(" make another phrase</<br /> p>"); ^ PhraseOMaticServlet.java:19: unclosed string literal out.println(" make another phrase</<br /> p>"); ^ 3 errors
Question 2: I am running Orion and the book on pp. 625-626 implies that you can put a servlet on an anchor
But apparaently html won't come up.What should the anchor reference look like using Orion?
|
 |
Bert Bates
author
Sheriff
Joined: Oct 14, 2002
Posts: 8712
|
|
let's slide this over to the Servlets forum
|
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56180
|
|
|
Actually, I'm going to re-slide this over to Java in General (beginner) as it's not a Servlet issue per se.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Head First Java 2nd ed Question
|
|
|