Search:

Type: Posts; User: java_l3

Search: Search took 0.27 seconds.

  1. Replies
    5
    Views
    2,563

    Re: ServletExample code problem - beginner

    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...
  2. Replies
    5
    Views
    2,563

    Re: ServletExample code problem - beginner

    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...
  3. Replies
    5
    Views
    2,563

    Re: ServletExample code problem - beginner

    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 ...
  4. Replies
    6
    Views
    550

    Re: Creating an object...

    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...
Results 1 to 4 of 4