Results 1 to 2 of 2

Thread: parameters=null

  1. #1
    mary is offline Member
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    0

    Default parameters=null

    I have a form which has 4 fields .
    The action of the form is mapped to a servlet. When the form is submitted the request parameters are becoming null.
    this is my code
    Java Code:
    Enumeration parameters = request.getParameterNames();
    what's wrong?

  2. #2
    oregon is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    Check the methods, are you using post or get?
    if you use post method it returns to you the parameters null

Similar Threads

  1. NULL Value Of parameters
    By riders in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-14-2008, 02:29 PM
  2. Hiding parameters from URL
    By Saurabh321 in forum New To Java
    Replies: 0
    Last Post: 02-05-2008, 12:43 PM
  3. alphabetizing parameters
    By jjsaw5 in forum New To Java
    Replies: 2
    Last Post: 08-15-2007, 05:43 PM
  4. get parameters in jsp
    By cecily in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-05-2007, 04:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •