form post not working in apache tomcat

Discussion in 'JSP' started by dart.suresh, Aug 1, 2012.

  1. dart.suresh

    dart.suresh New Member

    Joined:
    Aug 1, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hi,
    my client using apache tomcat server in this server form post method not working but instead am using get method its working
    what the configuration am missing in web xml?
     
  2. dart.suresh

    dart.suresh New Member

    Joined:
    Aug 1, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    when i try to submit button server said
    Error code: 405

    Error: Method Not Allowed

    error please help

    here my code

    < head>
    < meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    < title>Untitled Document</title>
    < /head>

    < body>
    < form method="get" action="index1.html">
    < input type="text" name="test" />
    < input type="submit" id="btn" value="submit" />
    < /form>
    < /body>
    < /html>
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice