Search:

Type: Posts; User: syedbhai

Search: Search took 0.11 seconds.

  1. Replies
    14
    Views
    10,486

    Re: java.lang.NullPointerException

    Hello.
    Just reboot your computer.
    Compile your entire project.
    Star the tomcat server.
    Deploy the war file.
    And let us know.

    Syed.
  2. Replies
    14
    Views
    10,486

    Re: java.lang.NullPointerException

    Hello.
    Can you check your HTML code? Check the <form> tag.
    And see what HTTP method you are using - GET or POST. For this see if there is an attribute named "method" in the form tag.
    If...
  3. Replies
    14
    Views
    10,486

    Re: java.lang.NullPointerException

    Hello.
    I think the parameter names are case-sensitive. I am not sure. Just double-check it.
    You are reading "Fullname" in your servlet. But in your form its "FullName".
    The cases do not...
  4. Replies
    14
    Views
    10,486

    Re: java.lang.NullPointerException

    Hello.
    Can you check if you are supplying the parameter "Fullname"? If this parameter is not available then you are invoking trim() on NULL.
    This could be the reason for NullPointerException....
  5. Replies
    14
    Views
    10,486

    Re: java.lang.NullPointerException

    Hello.
    You said you are getting Null Pointer Exception first.
    Then you say localhost keeps running.
    Its unclear.
    Please just state the exact problem you are getting.

    Syed.
Results 1 to 5 of 5