Hello Friends
I tried compiling this code
Servlet Example, Java Servlet Example, Servlet source code (WelcomeServlet.java file)
in my linux system and I am getting the following error and I can't see the problem for I copied and paste. I am a newbie and learning servlet
james@ubuntu:/usr/local/tomcat/MyProjects/Servlet-Example$ javac WelcomeServlet.java
WelcomeServlet.java:41: ')' expected
out.println("<a href="/Servlet-Example/form.html">"+"Click here to go back to input page "+"</a>");
^
WelcomeServlet.java:41: not a statement
out.println("<a href="/Servlet-Example/form.html">"+"Click here to go back to input page "+"</a>");
^
WelcomeServlet.java:41: ';' expected
out.println("<a href="/Servlet-Example/form.html">"+"Click here to go back to input page "+"</a>");
^
3 errors
I suspect I am using Linux instead of windows.
Thanks
Sawubona