See, if you can provide me your sample code. I will try compiling it and see if anything is wrong there. Because, i have used that command several times to compile Servlet code. don't know whats...
Type: Posts; User: java_l3
See, if you can provide me your sample code. I will try compiling it and see if anything is wrong there. Because, i have used that command several times to compile Servlet code. don't know whats...
You code is correct. Do you have "servlet-api.jar" in your java class-path? This is the jar file that have all the packages and classes that compiler is complaining about.
-> If you are using an...
Hi Sawubona,
You need to escape the double quotes (") in your code. Replace the following line
out.println("<a href="/servletexample/pages/form.html">"+"Click here to go back to input page ...
Hi RodePope4546,
the syntax you are using to create the object is correct. You just need to make sure the code to use Squares class have access to Squares class. I mean, the class which have...