CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2012
    Posts
    2

    form post not working in apache tomcat

    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. #2
    Join Date
    Aug 2012
    Posts
    2

    Re: form post not working in apache tomcat

    Quote Originally Posted by dart.suresh View Post
    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?
    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>

  3. #3
    Join Date
    Nov 2011
    Location
    Vietnam
    Posts
    8

    Re: form post not working in apache tomcat

    the method of the form should be "post":
    <form method="post"..>

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured