HTTP Method Post not supported by this URL

We are running WL6.0sp1 on Win2000. When we try to open a JSP page which calls
a servlet we get a "HTTP Method Post not supported by this URL". This same setup
(WL 6.0sp1 on Win2000) on another machine works absolutely fine running from the
same client. Is there any setup that needs to be done in Weblogic for this? Any
pointers on this would be appreciated.
Rgds

Normally when you get this error, your username/password is not correct.
It's not a clean way of errorhandling. I have had the same issue and after a while i noticed the password i entered was not correct.

Similar Messages

  • HTTP Status 405 - HTTP method POST is not supported by this URL

    dear all
    can u solve my problem.am getting the *"HTTP Status 405 - HTTP method POST is not supported by this URL"* msg from the browser when i press the search button in my form.plz suggest me the solution for my fault.these are the following html,xml,class files:
    search.html*
    <html>
    <head>
    <title>Search Page</title>
    </head>
    <body>
    <p align="center"><font size="6" color="#0000FF"><b>Search Module</b></font></p>
    <p align="center"> </p>
    <center>
    <form method="POST" action="./emp">
    <table border="1" width="43%">
    <tr>
    <td width="50%">
    <p align="right">Employee Name</td>
    <td width="50%"><input type="text" name="empname" size="36"></td>
    </tr>
    <tr>
    <td width="100%" colspan="2">
    <p align="center"><input type="submit" value="Search" name="B1"></td>
    </tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    web.xml*
    <web-app>
    <servlet>
    <servlet-name>jdbc</servlet-name>
    <servlet-class>searchModule</servlet-class>
    <init-param>
    <param-name>driver</param-name>
    <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
    </init-param>
    <init-param>
    <param-name>url</param-name>
    <param-value>jdbc:odbc:first</param-value>
    </init-param>
    <init-param>
    <param-name>user</param-name>
    <param-value>scott</param-value>
    </init-param>
    <init-param>
    <param-name>pass</param-name>
    <param-value>tiger</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>jdbc</servlet-name>
    <url-pattern>/emp</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>search.html</welcome-file>
    </welcome-file-list>
    </web-app>
    SearchModule.java*
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class searchModule extends HttpServlet
    Connection con;
    public void init() throws ServletException
    String d=getInitParameter("driver");
    String u=getInitParameter("url");
    String us=getInitParameter("user");
    String pwd=getInitParameter("pass");
    try
    Class.forName(d);
    con=DriverManager.getConnection(u,us,pwd);
    catch(ClassNotFoundException e)
    System.out.println(e);
    catch(SQLException e)
    System.out.println("Unable to establish the connection");
    }//init
    public void doGet(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
    String empname=req.getParameter("empname");
    res.setContentType("text/html");
    PrintWriter pw=res.getWriter();
    try
    pw.println("<html><body><center>");
    Statement st=con.createStatement();
    String sql="select * from employee where empname="+empname;
    ResultSet rs=st.executeQuery(sql);
    if(rs.next())
    pw.println("<h2>Employee Details</h2>");
    pw.println("<table border=1>");
    pw.println("<tr><th>Employee No.</th>");
    pw.println("<th>Employee Name</th>");
    pw.println("<th>Designation</th>");
    pw.println("<th>Department</th>");
    pw.println("<th>Salary</th>");
    pw.println("</tr><tr>");
    pw.println("<td>"+rs.getInt(1)+"</td>");
    pw.println("<td>"+empname+"</td>");
    pw.println("<td>"+rs.getString(3)+"</td>");
    pw.println("<td>"+rs.getString(4)+"</td>");
    pw.println("<td>"+rs.getInt(5)+"</td>");
    pw.println("</tr></table>");
    else
    pw.println("<h2>Employee Record Not Found</h2>");
    pw.println("</center></body></html>");
    pw.close();
    rs.close();
    st.close();
    catch(SQLException e)
    System.out.println(e);
    }//doPost
    public void destroy()
    if(con!=null)
    try
    con.close();
    catch(Exception e)
    System.out.println("Connection Closed");
    }//destroy
    }//searchModule
    in control panel i selected System DNS and created the name as first and driver as Microsoft ODBC for Oracle
    plz suggest me the solution where i committed mistake.

    <form method="*POST*" action="./emp">
    public void doGet (HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
    HTTP method POST is not supported by this URL

  • HTTP method POST is not supported by this URL

    Hi everyone,
    I'm having a problem in my application.
    I used the ADF Security Wizard to enable the ADF Security in my application. So, it created the pages login.html, error.html and welcome.jsp.
    The problem is when I try to sign in in my applicaton. On the page login.html I filled in the fields username and password and click on the button to post the form. But when the form is posted I get the message: "HTTP method POST is not supported by this URL".
    The form is posted to the bean j_security_check.
    Does anybody know why is it happening? What should I do to fix it?
    Thanks a lot
    Daniel
    Edited by: [email protected] on 23/02/2010 05:37

    Normally when you get this error, your username/password is not correct.
    It's not a clean way of errorhandling. I have had the same issue and after a while i noticed the password i entered was not correct.

  • 405 HTTP method POST is not supported by this URL

    When I use GET method to browse a servlet by using TOMCAT or Resin, receive the following message:
    405 HTTP method POST is not supported by this URL
    Thanks!

    Just post your question once and be patient:
    http://forum.java.sun.com/thread.jspa?threadID=573890
    %

  • 405 HTTP method GET is not supported by this URL

    When I use GET method to browse a servlet by using TOMCAT or Resin, receive the following message:
    405 HTTP method POST is not supported by this URL
    Thanks!

    Just post your question once and be patient:
    http://forum.java.sun.com/thread.jspa?threadID=573890
    Go out and get a servlet book. Don't you know how to write servlets?
    %

  • POST method not supported by this URL

    Hello gentlemen,
              We are trying to migrate our servlets from another Web Application
              Server (IBM WebSphere 2.02) to Weblogic 4.5.1.
              A servlet that did work fine with WebSphere, now produces the "POST
              method not supported by this URL" error under Weblogic.
              Of course, we implement doPost method in our servlet.
              Any idea to fix this problem? thank you.
              emanuele
              

              Emanuele--
              In the ICSessionServlet file you are posting the data to ICIdentification servlet which is
              again a servlet
              So you need to register this servlet in weblogic.properties file before you post something to
              this servlet.
              Also the way you are calling the servlet is totally wrong from weblogic standpoint
              You don't need to specify the package name in weblogic(this is OK in java web server) for e.g.
              icdoor.myservlet.session.ICIdentificationServlet.
              Because we are registering the servlet with full package name in properties file so we don't
              need to mention the package
              name here..
              Call the servlet in the following way or whichever way is suitable for you.
              Here is how i'm calling ICIdentificationServlet
              http://localhost:7001/ICIdentificationServlet
              Here is the output i'm getting after entering user name/password
              "Welcome Startfighter"
              Requested URL
              http://localhost:7001/Stupida
              Hope this helps
              Kumar
              emanuele wrote:
              > Here's the source code for a servlet producing "HTTP method POST is not
              > supported by this URL".
              >
              > I have registered servlet Stupida in the file weblogic.properties. This
              > servlet subclass the ICSessionServlet.
              > The service() method of ICSessionServlet ask for a userid and a password
              > (user and password are not verified, anyway) and then calls the doPost()
              > method of ICIdentification servlet. This one displays a sort of "Welcome
              > page" and then the calling URL. (if it works fine...).
              >
              > On WebSphere, it works. On Weblogic, it doesn't.
              >
              > Any idea?
              >
              > emanuele
              >
              > "Kumaraswamy A." wrote:
              >
              > > can you post the stacktrace , also if possible send your java file
              > > too!..
              >
              >
              

  • GRMG RFC Configuration "HTTP method GET is not supported by this URL"

    Hi All,
    when i create the RFC Destinaton for SLD  with regards to GRMG Configuration and test the rfc i get the Reason code 400 with error "HTTP method GET is not supported by this URL".
    Even if i call  http://hostname:port/sld/rtc in the browser i get the same error.
    RFC Details:
    Target machine:Host
    Service No: port no
    path prefix: /sld/rtc
    My other RFC destinations for rwb,IR,ID,Adapter Engine works well.
    I would appreciate your suggestions on this
    Aravind

    Hi David,
    I feel sorry to wake this thread up after long time.
    It's the same situation, connection testing for SLD returns 400 "HTTP method GET is not supported by this URL".
    However, CCMS hearbeat seems to work fine with SLD. It returns green.
    I have a question here. Is it OK if we leave it that way without changing GRMG?
    Is there any potential problem, or side effect when the RFC destination returns 400?
    Thank you very much,
    Teyun

  • Error: HTTP method GET is not supported by this URL

    Hey,
    I am attempting to overload the doGet method with a Wrapper class I created for HttpServletReponse that extends it of course and I receive this error: "HTTP method GET is not supported by this URL". I figure you can't change the method as I have but I am curious if there is anyway I can go about to accomplish what I am trying to do. Basically I just need to extend the HttpServletResponse so that it contains a few more variables and such.
    public class test extends HttpServlet {
        public void doGet(HttpServletRequest request,  XmlServletResponseWrapper response) throws ServletException, IOException{
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            out.println("<html>");
            out.println("<head>");
            out.println("</head>");
            out.println("<body>test</body>");
            out.println("</html>");
       

    public void doGet(HttpServletRequest request, XmlServletResponseWrapper response)
    is not the same method as
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    The servlet container is going to call the later method and since you did not overwrite it to provide an implementation it sees the GET request as not being supported.
    what you are looking to do is something like this:
    public void doGet(HttpServletRequest request,  HttpServletResponse response) throws ServletException, IOException{
            XmlServletResponseWrapper myResponse = (XmlServletResponseWrapper ) response;
            myResponse .setContentType("text/html");
            PrintWriter out = myResponse .getWriter();
            out.println("<html>");
            out.println("<head>");
            out.println("</head>");
            out.println("<body>test</body>");
            out.println("</html>");
       

  • HTTP method GET is not supported by this URL

    hi.. I am trying one Cookie example.. I m ready with the class file.. and I have deployed it in Tomcat.. but when I am trying to run this the error "HTTP method GET is not supported by this URL" is coming..
    Pls give some clues so that I can run this....

    Implement HttpServlet#doGet() in your servlet.

  • Problem:HTTP Status 405 - HTTP method GET is not supported by this URL

    Hi
    I m beginner.I try to invoke servlet using HTML page with doPost method .I put the html file in Tomcat4.1/webapps/root and put the class file in Tomcat4.1/webapps/root/WEB-INF/classes. So when i put the url in the browser the html page is diplayed but when i sumit it to open the servet it gives this error HTTP Status 405 - HTTP method GET is not supported by this URL.I give the servlet name and class in web.xml also have done its mapping but still it is not working.Whereas the simple servet runs like HelloWord but when i use html page to run servlet it does'nt work.
    Plz help me out.
    Thanx

    Hi,
    I have also encountered this problem while running my web-application under tomcat 3.3.2. My application is resided in webapps directory. And servlet class is placed inside <app-dir>/WEB-INF/Classes/com/rEWebSite/Servlets.
    <web-app>
    <servlet>
    <servlet-name>
    LoginServlet
    </servlet-name>
    <servlet-class>
    com.rEWebSite.Servlets.LoginControlServlet
    </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>
    LoginServlet
    </servlet-name>
    <url-pattern>
    /Login
    </url-pattern>
    </servlet-mapping>
    </web-app>
    This is script in web.xml file. And after clicking on the link it is showing http://localhost:8080/<app-dir>/Login .
    If anyone knows a solution, plz reply me.

  • Web Deploy error - "This method is not supported by this class"

    I have an MVC project which I am trying to deploy to one of our internally-hosted web front end servers via a TFS build process. Our server hosts the MS Deploy service, and other solutions deploy without problems to the same box. The parameters for the build
    process are as follows:
    /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod=WMSVC /p:MsDeployServiceUrl=https://<server>:8172/msdeploy.axd /p:DeployIISAppPath="<internal.site.com>" /p:username=<username> /p:password=<password>
    /p:IncludeIisSettingsOnPublish=false /p:AllowUntrustedCertificate=True /p:OutputPath=bin\ /p:SkipExtraFilesOnServer=True /p:VisualStudioVersion=11.0
    The error message I receive at the point the build reaches the deployment activity is:
    Web deployment task failed. (Could not complete the request to remote agent URL 'https://<server>:8172/msdeploy.axd?site=<internal.site.com>'.)
    Could not complete the request to remote agent URL 'https://<server>:8172/msdeploy.axd?site=<internal.site.com>'.
    The request was aborted: The request was canceled.
    This method is not supported by this class.
    We've found
    this StackOverflow post which describes the same error we're experiencing, however the suggested solution is something we already do in our server configuration, so this doesn't resolve the issue for us.
    Has anyone seen this error before, or is able to make any suggestions why it is happening?

    Hi Matt,
    You have to have a look in the build log then copy the command that is under Run MSBuild node and executed it on the build agent.
    You should find something like below:
    C:\Program Files (x86)\MSBuild\12.0\bin\amd64\MSBuild.exe /nologo /noconsolelogger "C:\Builds\....sln" /nr:False /fl /flp:"logfile=C:\Builds\...log;encoding=Unicode;verbosity=normal" /p:SkipInvalidConfigurations=true /p:CreatePackageOnPublish=true /p:DeployOnBuild=true /p:SkipExtraFilesOnServer=True /m /p:OutDir="C:\Builds\...\bin\\" /p:Configuration="DEV" /p:Platform="Any CPU" /p:VCBuildOverride="C:\Builds\....sln.Any CPU.DEV.vsprops" /dl:WorkflowCentralLogger,"C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;BuildUri=vstfs:///Build/Build/31630;IgnoreDuplicateProjects=False;InformationNodeId=14;TargetsNotLogged=GetNativeManifest,GetCopyToOutputDirectoryItems,GetTargetPath;LogProjectNodes=True;LogWarnings=True;TFSUrl=http://...-tfs:8080/tfs/...;"*WorkflowForwardingLogger,"C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\Microsoft.TeamFoundation.Build.Server.Logger.dll";"Verbosity=Normal;" /p:BuildId="aa2d3857-27e9-4854-b44f-4ca625ccd786,vstfs:///Build/Build/31630" /p:BuildLabel="..._2015.02.27.2" /p:BuildTimestamp="Fri, 27 Feb 2015 11:16:41 GMT" /p:BuildDefinition="..."
    Daniel

  • GET is not supported by this URL

    I have created a simple droplet and I tried to see output in my jsp page.
    But I am getting bellow message with blank page - "GET is not supported by this URL"
    I am new to ATG :)
    Looking for any help.....
    Thnx in Adv.!!!!
    Rajib

    I think u r placed super.service() method in ur code.. Pls remove that one.. it wil work fine.

  • The :pserver: access method is not supported by this port of CVS

    i receive the following error when trying to connect to cvs
    the :pserver: access method is not supported by this port of CVS

    i receive the following error when trying to connect to cvs
    the :pserver: access method is not supported by this port of CVS Use the CVS 1.11.2 from http://www.cvshome.org, sounds like you are using a version of cvs which (is maybe CVSNT) doesn't support pserver.
    Rob

  • Re: Post not supported by url

    Your post has been killed.
              Please repost to:
              news://www4.weblogic.com/weblogic.developer.interest.servlet
              I will answer it there.
              Cheers
              Mark G
              Eugenie Wu wrote:
              > I installed an eval copy of Weblogic 4.0.3 and configured it to use
              the
              > Netscape Enterprise Server bridge by editing the obj.conf file as the
              > documentation states. I am able to invoke servlets if the GET request
              > method is used, but a POST request results in the error message "Post
              is
              > not supported by this URL". The servlets handle both GET and POST
              > requests in the service method. The same thing happens if I use the
              > Weblogic app server's own httpd, so I think that the NS bridge must be
              > ok. What do I need to do to be able to POST to servlets?
              

    Your question about what is being passed from NES to WL caused me to
              re-examine what my servlets expect to receive. These servlets were originally
              written using a different servlet engine. I had been using the the URI header
              value (getHeader("URI") ) for the action value in html forms created by the
              servlets. I looked at the headers that WL returns from the getHeaderNames()
              method and URI is not one of them! So, of course, the action values the
              servlets created were null. The getRequestURI() method will return the info I
              want so I can use that instead. But how come many of the headers that I
              expect to see in a request are not returned by getHeaderNames()?
              Mark Griffith wrote:
              > Eugenie:
              >
              > See I told you I would answer. :)
              >
              > The error your getting happens when a Servlet only implements doGet, not
              > doPost or service. For example our FileServlet:
              >
              > javap -public weblogic.servlet.FileServlet
              > public synchronized class weblogic.servlet.FileServlet extends
              > javax.servlet.http.HttpServlet
              > /* ACC_SUPER bit set */
              > {
              > public void init(javax.servlet.ServletConfig);
              > public void doGet(javax.servlet.http.HttpServletRequest,
              > javax.servlet.http.HttpServletResponse);
              > public weblogic.servlet.FileServlet();
              > }
              >
              > So the first question is does the servlet getting invoked on WL implement
              > doPost or service?
              >
              > If you think it does then:
              >
              > What is the configuration in obj.conf?
              > That is are you proxying by path or extension? Can you include a snippet
              > from the obj.conf.
              >
              > Then can you send a snippet from your weblogic.properties file that shows
              > how your servlet is registered.
              >
              > Meaning I want to see what the URL that comes into NES is:
              >
              > http://www.foo.com/myservlets/phone
              >
              > goes out to WL as
              >
              > http://www.foo.com/myservlets/phone
              > or
              > http://www.foo.com/phone
              >
              > and then what is the servlet registration on WL that handles this?
              >
              > Cheers
              > Mark G.
              >
              > > Eugenie Wu wrote:
              > >
              > > > I installed an eval copy of Weblogic 4.0.3 and configured it to use
              > > the
              > > > Netscape Enterprise Server bridge by editing the obj.conf file as the
              > > > documentation states. I am able to invoke servlets if the GET request
              > >
              > > > method is used, but a POST request results in the error message "Post
              > > is
              > > > not supported by this URL". The servlets handle both GET and POST
              > > > requests in the service method. The same thing happens if I use the
              > > > Weblogic app server's own httpd, so I think that the NS bridge must be
              > >
              > > > ok. What do I need to do to be able to POST to servlets?
              >
              > --
              > =====================================================
              > Reply to the newsgroup. Don't reply to this mail
              > alias. This is used only for answering posts on
              > WebLogic Newsgroups.
              > =====================================================
              

  • GetCollectionMetaData:  this method is not supported by 'OracleXMLDataSetGenJdbc' cla

    The following Java code:
    // Create an OracleOCIConnectionPool instance with default configuration
    OracleOCIConnectionPool cpool = new OracleOCIConnectionPool("appserver", "9ias", url, null);
    // Print out the default configuration for the OracleOCIConnectionPool
    System.out.println ("-- The default configuration for the OracleOCIConnectionPool --");
    displayPoolConfig(cpool);
    // Get a connection from the pool
    OracleOCIConnection conn1 = (OracleOCIConnection) cpool.getConnection("usecase", "uml");
    // Create a Statement
    Statement stmt = conn1.createStatement ();
    // Select the ENAME column from the EMP table
    ResultSet rset = stmt.executeQuery ("select * from usecases_ov");
    OracleXMLQuery q = new OracleXMLQuery(conn1,"select * from usecases_ov");
    System.out.println(q.getXMLString());
    Produces:
    -- The default configuration for the OracleOCIConnectionPool --
    Min poolsize Limit: 1
    Max poolsize Limit: 1
    Connection Increment: 0
    NoWait: false
    Timeout: 0
    PoolSize: 1
    ActiveSize: 0
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: getCollectionMetaData: this method is not supported by 'OracleXMLDataSetGenJdbc' class. Please use 'OracleXMLDataSetExtJdbc' instead.</ERROR>
    Any Suggestions?

    One import piece of info: This OracleXMLQuery works against a standard table. The query that fail goes against the following view and uses nested tables(object lists).
    SELECT v.name as PACKAGE,
    u.name,
    u.version,
    u.iteration,
    u.summary,
    u.events_basic,
    u.author,
    u.rev_date,
    u.ext_points,
    u.assumptions,
    u.preconditions,
    u.revision_notes,
    u.trigger_event,
    u.package as PUID,
    u.ALTERNATE_PATHS AS ALTERNATE_PATHS_LIST,
    u.EXCEPTION_PATHS AS EXCEPTION_PATHS_LIST,
    u.BUSINESS_RULES AS BUSINESS_RULE_LIST
    FROM USECASE u, DESIGN_PACKAGE v
    WHERE u.package=v.puid
    AND EXISTS(SELECT 'X'
         FROM DESIGN_CUR_VER d
         WHERE d.name = u.name
         AND d.version = u.version
         AND d.design_date = u.rev_date)
    AND EXISTS (SELECT 'X'
         FROM USECASE_AUDIT a
         WHERE a.package = u.package
         AND a.name = u.name
         AND a.version = u.version
         AND a.timestamp = u.rev_date
         AND a.status_code IN('created','modified','rejected'))
    ORDER BY v.name, u.name

Maybe you are looking for

  • ORDS (2.0.7) - URL Mapping - Names need to be lower case

    Using the latest ORDS (2.0.7) - when using settings to setup multiple databases, I have noticed that the the "URL Mapping" rule will not be picked up if the "Name" of the connection is not all lower case. The "Routing Rule" can be mixed case, but the

  • How do I set my default font size?

    I have no problems selecting a font to use, but due to failing eyesight they are too small for comfort

  • VISA Read function Read buffer problem in serial communication

    Hi,  I use VISA write and read function in serial communication app, the device continuously sends 0x00 if it is not receive a request from Labview program running on PC. And the request sent by labview is programmable. I met a weird problem, each ti

  • Chipset drivers are a disorganized mess.

    I took the time to leave you honest feedback for your MSI FM2-A55M-E33 chipset driver download. If this is the best that MSI can do then I will not be purchasing another MSI product.

  • PAL or NTSC for France?

    I have a project I need to burn for use in France. Should this be a PAL or NTSC disc?