HTTP method POST is not supported by this URL

一个很简单的网页,提交一个选项,让后返回建议,但是一点提交就出错,下面是html xml 和servlet的代码
图片说明
图片说明
图片说明
网页能够正常打开,但是一点提交就405
图片说明

3个回答

确认下你是否正确的重写了HttpServlet的doPost方法。加@Override注解看下。另外HttpServlet下的doPost和doGet方法看源码其实就是两个用来报错的方法而已。重写下面的service方法即可。

Lei_Da_Gou
Lei_Da_Gou 方法重写建议使用快捷键,自动让编译器自动帮你重写,减少错误的概率。
大约一年之前 回复
ASFDASDGF
ASFDASDGF 找到了,参数里req和resp的顺序写反了
大约一年之前 回复
Lei_Da_Gou
Lei_Da_Gou 回复ASFDASDGF: 如果你是重写的,方法上面加个@Override ,另外public应该改为protected ,还有我没记错的话,第一个参数应该是HttpServletRequest,而不是HttpServletResponse把,你对照下我发给你的方法。
大约一年之前 回复
Lei_Da_Gou
Lei_Da_Gou 回复ASFDASDGF: @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { 代码.. }
大约一年之前 回复
ASFDASDGF
ASFDASDGF 我提交的第一张图就是 servlet,里面唯一的method就是重写的doPost啊
大约一年之前 回复

该接口不支持Post请求。看看是不是只能Get请求

应该是你的后台处理方法加了只支持get方法的限制

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
HTTP method POST is not supported by this URL ??
孙鑫的书, servlet/jsp深入详解,网上参见http://www.qijan.com/bbs/viewthread.php?action=printable&tid=10063 rnrn书上67页请求转发的例子, 例2-16 PortalServlet.java和例2-17 LoginServlet2.javarn网上请通过ctrl+F去查找rnrn点登陆后出现错误: HTTP method POST is not supported by this URLrnrn把例2-17 LoginServlet2.java第21行代码form method=post改成form method=get后运行正常.rn请问是为什么?rnrnrnrn附两个程序:rn例2-16 PortalServlet.javarn1. package org.sunxin.ch02.servlet;rnrn2. rn3. import java.io.IOException;rn4. import java.io.PrintWriter;rn5. rn6. import javax.servlet.RequestDispatcher;rn7. import javax.servlet.ServletContext;rn8. import javax.servlet.ServletException;rn9. import javax.servlet.http.HttpServlet;rn10. import javax.servlet.http.HttpServletRequest;rn11. import javax.servlet.http.HttpServletResponse;rn12. rn13. public class PortalServlet extends HttpServletrn14. rn15. public void doGet(HttpServletRequest req, HttpServletResponse resp)rn16. throws ServletException,IOExceptionrn17. rn18. resp.setContentType("text/html;charset=gb2312");rn19. rn20. PrintWriter out=resp.getWriter();rn21. rn22. out.println(" ");rn23. out.println("登录页面");rn24. out.println("");rn25. rn26. String name=req.getParameter("username");rn27. String pwd=req.getParameter("password");rn28. rn29. if("zhangsan".equals(name) && "1234".equals(pwd))rn30. rn31. ServletContext context=getServletContext();rn32. RequestDispatcher rd=context.getRequestDispatcher("/welcome");rn33. rd.forward(req,resp);rn34. rn35. elsern36. rn37. RequestDispatcher rd=req.getRequestDispatcher("login2");rn38. rd.include(req,resp);rn39. rn40. out.println("");rn41. out.close();rn42. rn43. public void doPost(HttpServletRequest req,HttpServletResponse resp)rn44. throws ServletException,IOExceptionrn45. rn46. doGet(req,resp);rn47. rn48. rnrnrnrnrn例2-17 LoginServlet2.javarn1. package org.sunxin.ch02.servlet;rnrn2. rn3. import java.io.IOException;rn4. import java.io.PrintWriter;rn5. rn6. import javax.servlet.ServletException;rn7. import javax.servlet.http.HttpServlet;rn8. import javax.servlet.http.HttpServletRequest;rn9. import javax.servlet.http.HttpServletResponse;rn10. rn11. public class LoginServlet2 extends HttpServletrn12. rn13. public void doGet(HttpServletRequest req, HttpServletResponse resp)rn14. throws ServletException,IOExceptionrn15. rn16. rn17. resp.setContentType("text/html;charset=gb2312");rn18. rn19. PrintWriter out=resp.getWriter();rn20. rn21. out.println(" ");rn22. rn23. out.println(" ");rn24. rn25. out.println(" ");rn26. out.println(" 请输入用户名");rn27. out.println(" ");rn28. out.println("");rn29. rn30. out.println(" ");rn31. out.println(" 请输入密码");rn32. out.println(" ");rn33. out.println("");rn34. rn35. out.println(" ");rn36. out.println(" ");rn37. out.println(" ");rn38. out.println("");rn39. rn40. out.println("");rn41. out.println("");rn42. rn43. rn44. public void doPost(HttpServletRequest req,HttpServletResponse resp)rn45. throws ServletException,IOExceptionrn46. rn47. doGet(req,resp);rn48. rn49. rn
HTTP method POST is not supported by this URL
一个很简单的网页,提交一个选项,让后返回建议,但是一点提交就出错,下面是html xml 和servlet的代码rn![图片说明](https://img-ask.csdn.net/upload/201806/25/1529927309_326821.png)rn![图片说明](https://img-ask.csdn.net/upload/201806/25/1529927323_40723.png)rn![图片说明](https://img-ask.csdn.net/upload/201806/25/1529927334_893242.png)rn网页能够正常打开,但是一点提交就405rn![图片说明](https://img-ask.csdn.net/upload/201806/25/1529927377_549407.png)
HTTP method POST is not supported by this URL的问题,很急
运行程序,报错:HTTP method POST is not supported by this URLrn我的jsp页面是这样的:rnrnrnrnrn 手机收费页面rn rn电话号码: rnrnrnrnrnrnservlet的源码是:rnimport java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport javax.servlet.ServletException; rnpublic class Login extends HttpServletrnrn public void doGet(HttpServletRequest request,HttpServletResponse response)rn throws IOException,ServletExceptionrn rn PrintWriter out=response.getWriter();rn String num=request.getParameter("phonenum");rn rn if (num.trim().equals("")) rn rn out.println("号码不能为空,请重新输入!");rn response.sendRedirect("login.jsp");rn rn else rn rn if((!num.trim().equals("11")) && (!num.substring(0,1).equals("13")))rn rn out.println("非手机号码,请重新输入!");rn response.sendRedirect("login.jsp");rn rn else rn rn response.sendRedirect("fail.jsp");rn rn rn rn public void doPost(HttpServletRequest request,HttpServletResponse response)rn throws IOException,ServletExceptionrn rn doGet(request,response);rn rnrnrnrnweb。xml配置:rnrnrnrnrnrn Welcome to Tomcatrn rn Welcome to Tomcatrn rnrnrnrnrn rn rn org.apache.jsp.index_jsprn org.apache.jsp.index_jsprn rn rn rn myloginrn myloginrn rn rn rn Loginrn Loginrn rn rn rn FeeLoginrn FeeLoginrn rn rn rn org.apache.jsp.index_jsprn /index.jsprn rnrn rn myloginrn /myloginrn rn rn rn Loginrn /Loginrn rn rn rn FeeLoginrn /FeeLoginrn rnrnrnrnrn可是运行时总是报这个错,我都疯了,我是新手,实在不知道怎么办了
HTTP method GET is not supported by this URL
我想在select的onchange事件中提交servlet可是出现如题所示的错误!rn我的servlet中的方法是dopostrnjs中的提交代码是:rnfunction selectName() rnvar projectName=document.saleform.contractnum.value; rnwindow.location="chaxunServlet?projectName= "+document.saleform.contractnum.value; rnrn点击按钮后提示:rnHTTP method GET is not supported by this URLrn这是怎么回事?怎么解决?rn
Request method 'POST' not supported
rn rn rn rn :rnrn rn rn rnrn rn :rnrn rn rn rnrn rn rnrn rn rn rn rn rn rn为什么提交不了form 表单 一提交 就报题目那个错误
Servlet验证出现405错误,HTTP method POST is not supported by this URL
rn我找了很久确实没有找出错误!!看看错在哪儿行吗?rn谢谢!!rn我用Form表单提交:rnrn[code=HTML]"html" [color=#FF0000] [/color]rn 用户名: rn 密码: rn 确认密码: rn 邮箱: rn 安全问题: rn 答案: rn rn rn[/code]rnrn以下是我的Servlet代码:rn[code=HTML]"java"public class UserDAOServlet extends HttpServlet rn public class UserLoginServlet extends HttpServlet rn [color=#FF0000]public void doGet(HttpServletRequest request, HttpServletResponse response)[/color]rn throws ServletException, IOException rn [color=#FF0000]doPost(request, response);[/color]rnrn rnrn [color=#FF0000]public void doPost(HttpServletRequest request, HttpServletResponse response)[/color]rn throws ServletException, IOException rn request.setCharacterEncoding("utf-8"); //统一设置编码rn String page = "user_register.jsp";rn String code = request.getParameter("code");rn List errors = new ArrayList();rn // 验证码验证rn if (code == null || "".equals(code)) rn errors.add("验证码为空!");rn else rn String rand = (String) request.getSession().getAttribute("rand"); rn if (!code.equalsIgnoreCase(rand)) rn errors.add("验证码错误!!") ;rn rn rn //取出接受参数进行验证rn String userName = request.getParameter("userName");rn String userPassword = request.getParameter("userPassword");rn String confirmPassword = request.getParameter("confirmPassword");rn String userEmail = request.getParameter("userEmail");rn String userQuestion = request.getParameter("userQuestion"); rn String userAnswer = request.getParameter("userAnswer"); rn String userRealName = request.getParameter("userRealName");rn String tele = request.getParameter("tele");rn String address = request.getParameter("address");rn String sex = request.getParameter("sex");rn rn if(!(userPassword.equals(confirmPassword)))rn errors.add("两次输入密码不一样!");rn rn if (userName == null || "".equals(userName)) rn errors.add("用户名不能为空!");rn rn if (userPassword == null || "".equals(userPassword)) rn errors.add("密码不能为空!");rn rn if(errors.size()==0) // 现在没有任何的错误信息rn User vo=new User();rn vo.setUserName(userName);rn vo.setUserPassword(new MD5Code().getMD5ofStr(userPassword)) ;rn vo.setAddress(address);rn vo.setSex(sex);rn vo.setTele(tele);rn vo.setUserQuestion(userQuestion);rn vo.setUserAnswer(userAnswer);rn vo.setUserEmail(userEmail);rn vo.setUserRealName(userRealName);rn try rn if(DAOFactory.getIUserDAOInstance().doCreate(vo))rn request.getSession().setAttribute("user", vo) ; // 现在保存对象rn request.setAttribute("userName", userName);rn page = "register_success.jsp" ;rn else rn errors.add("用户名或密码错误!");rn rn catch (Exception e) rn e.printStackTrace();rn rn rn request.setAttribute("errors", errors) ;rn request.getRequestDispatcher(page).forward(request, response);rn rnrnrn[/code]rnrn以下是在WEB.XML里面的配置:rn[code=HTML]"xml"rnuserDAOrnorg.mm.servlet.UserDAOServletrnrnrnuserDAOrn/user_dao_servletrnrn[/code]
错误提示(HTTP method POST is not supported by this URL),什么原因呢?
The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL).rnrnrnhttp://10.10.10.4/lhnet/servlet/HelloWorld能正常运行(说明此HelloWorld是好的),要是通过表单提交就出现如上错误信息,不知道什么原因。rnrn表单提交语句为: rn…… ……rn rn…… ……rnrnrn请告知!!!
一个简单servlet+jsp+javabean报错 405 HTTP method POST is not supported by this URL
本人菜鸟,求高手帮帮忙。要做毕业设计了。。。。。rnrnCheckAdmin:rnpackage com.tyhg.action;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnpublic class CheckAdmin extends HttpServletrnrn protected void processRequest(HttpServletRequest request,HttpServletResponse response) throws IOException,ServletExceptionrn response.setContentType("text/html;charset=UTF-8");rn PrintWriter out = response.getWriter();rn String name = request.getParameter("username");rn String pass = request.getParameter("password");rn if(name.equalsIgnoreCase("admin") && pass.equals("12345"))rn response.sendRedirect("http://www.baidu.com");rn rn elsern response.sendRedirect("http://www.baidu.com");rn rn out.close();rn rn rn protected void doPost(HttpServletResponse response,HttpServletRequest request) throws IOException,ServletExceptionrn processRequest(request,response);rn rn protected void doGet(HttpServletResponse response,HttpServletRequest request) throws IOException,ServletExceptionrn doPost(request,response);rn rnrnrnweb.xml:rn rn CheckAdminrn com.tyhg.action.CheckAdminrn rn rn CheckAdminrn /CheckAdminrn rnjsp:rn
HTTP method POST is not supported by this URL!这是什么错误?servlet的!!!
ServletToJsp.java:rnimport java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnpublic class ServletToJsp extends HttpServletrn public void doPost(HttpServletRequest req,HttpServletResponse res)rn throws ServletException,IOExceptionrn res.setContentType("text/html");rn PrintWriter out=res.getWriter();rn out.println(" HelloWorld!");rn out.println("");rn out.println("Hello World");rn out.println("");rn out.close();rn rn rnrn1.jsp:rn rnrnrnrnweb.xml:rnrnrnrn rn ServletToJsprn ServletToJsprn rn rn ServletToJsprn /ServletToJsprn rnrn运行为什么出HTTP method POST is not supported by this URL!错误?如果改成Post改成Get就好使~Post有什么需要特殊注意的吗?
SmartUpload使用问题405 HTTP method POST is not supported by this URL
我用如下方法提交rn rnrnrn为什么会报错rn405 HTTP method POST is not supported by this URL
servlet 运行为什么出现HTTP method POST is not supported by this URL错误?
运行环境:Tomcat5.5rn目录结构:greeting-|WEB-INFrn | |__classesrn | | |___GreetingServlet.classrn | |__web.xmlrn |___index.htmlrnweb.xml内容:rnrnrnrnrn rn Welcome to Tomcatrn rn Welcome to Tomcatrn rn rn rn GreetingServletrn GreetingServletrn rn rn GreetingServletrn /servlet/GreetingServletrn rnrnindex.html内容:rnrn rn ProJava Registration rn rn rn Welcomern rn Your Namern Your Email rn rn rn rnrnGreetringServlet.java内容:rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnimport java.util.*;rnrnpublic class GreetingServlet extends HttpServletrnrn protected void dopost(HttpServletRequest request,HttpServletResponse response)rn throws ServletException,IOExceptionrn rn String name=request.getParameter("name");rn String email=request.getParameter("email");rn String message=null;rn GregorianCalendar calender=new GregorianCalendar();rn if(calender.get(Calendar.AM_PM)==Calendar.AM)rn rn message="Good Mornming";rn rn elsern rn message="Good afertnoon";rn rn response.setContentType("text/html");rn PrintWriter out =response.getWriter();rn out.println("");rn out.println("");rn out.println(" "+message+","+name+"");rn out.println(" Thanks for redistering you email("+email+")with us.");rn out.println(" -The Pro java Team.");rn out.println("");rn out.println("");rn out.close(); rn rn rnrn运行时出现如题的错误,本人初学servlet,还请大家不吝赐教,谢谢!
调用servlet出现这个错误HTTP method POST is not supported by this URL
是怎么回事呀?
报错:HTTP Status 405 - HTTP method GET is not supported by this URL
import java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnrnpublic class HelloServlet extends HttpServlet rnrn //从HttpServlet类的帮助文档中复制service方法的声明部分可避免书写错误rn //private static final long serialVersionUID = 1L;rn protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn // TODO Auto-generated method stub rn doPost(request,response); rn rn rn public void Service(HttpServletRequest request,rn HttpServletResponse response)rn throws IOException, ServletExceptionrn rn PrintWriter out = response.getWriter();rn out.println("");rn out.println("www.it315.org ");rn out.println(""+ new java.util.Date() +"");rn out.println("");rn rn rnrn请高手们帮帮忙看看,用浏览器运行时,出现错误:rnHTTP Status 405 - HTTP method GET is not supported by this URLrnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage HTTP method GET is not supported by this URLrnrndescription The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).rnrn是怎么回事呢?我是新手菜鸟,很想学好java,希望大家帮我看看哦~~
奇怪的错误HTTP Status 405 - HTTP method GET is not supported by this URL
package com.flight.servlet;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport java.lang.reflect.InvocationTargetException;rnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnimport java.util.ArrayList;rnimport org.apache.commons.beanutils.BeanUtils;rnrnimport com.flight.bean.City;rnimport com.flight.bean.flight;rnimport com.flight.dao.searchflightDao;rnrnpublic class ticketsearchServlet extends HttpServlet rn rn public void doGet(HttpServletRequest request, HttpServletResponse response, String String)rn throws ServletException, IOException rn rn doPost(request,response);rn rn rnpublic void doPost(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOException rn request.setCharacterEncoding("utf-8");rn rn String action=request.getParameter("action");rn searchflightDao sfdao=new searchflightDao();rn rn if(action.equals("list"))rn rn rn rn String flight_id = request.getParameter("flight_id");rn String datetime = request.getParameter("datetime");rn rn request.setAttribute("fmList", sfdao.findBy(flight_id,datetime));rn rn request.getRequestDispatcher("ticketstatus.jsp").forward(request, response);rn rnrnrn rn public void init() throws ServletException rn // Put your code herern rnrnrn表单的提交方式检查过了是post方式提交的,请高手们帮忙看看是怎么回事?急用啊!!!rn
tomcat HTTP Status 405 - HTTP method POST is not supported by this URL报这个错
刚开始学servlet,就报了这个错。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/31.gif][/img]rn网页代码如下:rnrnrnrn rn Insert title herernrnrn rn 用户名:rn 密码:rn rn rnrnrnservlet代码如下:rnpackage cn;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnpublic class HelloServlet extends HttpServletrn @Overridern protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException rn // TODO Auto-gern doPost(req, res);rn rn @Overridern protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException rn String user = req.getParameter("username");rn String pwd = req.getParameter("password");rn res.setContentType("text/html;charset=UTF-8");rn req.setCharacterEncoding("UTF-8");rn if(user.equals("admin")&&pwd.equals("admin")) rn res.sendRedirect("Hello.html");rn else rn PrintWriter out = res.getWriter();rn out.println(" ");rn out.close();rn rn rnrn配置文件如下:rnrnrn sj1rn rn index.htmlrn index.htmrn index.jsprn default.htmlrn default.htmrn default.jsprn rn rn HelloServletrn cn.HelloServletrn rn rn HelloServletrn /HelloServletrn rn
HTTP Status 405 - HTTP method POST is not supported by this URL错误,请高手指教!
本人在学习JSP时候rn遇到了以下错误,不知如何解决rnHTTP Status 405 - HTTP method POST is not supported by this URLrnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage HTTP method POST is not supported by this URLrnrndescription The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL).rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.5.9rnrn请高手指教,问题出在哪儿???
这是什么错误啊HTTP method GET is not supported by this URL
地址栏运行到http://localhost:8080/flight/searchflightServlet?action=list时就出现了这个405错误,请大家帮忙啊?
求助:servlet运行时出现的问题 HTTP method GET is not supported by this URL
各位兄弟姐妹,小弟在调试JSP的时候遇到一个问题:rnservlet运行时出现的问题 HTTP method GET is not supported by this URL rn昨晚调了一晚都搞不定,代码如下:rnpackage ch07;rnrnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnpublic class SampleServlet1 extends HttpServlet rn public void doGet(HttpServlet request,HttpServletResponse response)rnthrows ServletException,IOExceptionrn response.setContentType("text/html;charset=GB2312");rn PrintWriter out = response.getWriter();rn out.println("");rn out.println(" Servlet");rn out.println("");rn out.println("大家好");rn out.println("");rn out.println("");rn out.close();rn rn
新手求助 HTTP method GET is not supported by this URL是为什么
package cc;rnrnimport cc.Bookmark;rnrnimport java.io.IOException;rnimport java.util.ArrayList;rnimport java.util.List;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.annotation.WebServlet;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrn/**rn * Servlet implementation class AddBookmarkrn */rn@WebServlet("/AddBookmark")rnpublic class AddBookmark extends HttpServlet rn private static final long serialVersionUID = 1L;rn public String Success_view="success.view";rn public String Error_view="error.view";rn /**rn * @see HttpServlet#HttpServlet()rn */rn public AddBookmark() rn super();rn // TODO Auto-generated constructor stubrn rnrn /**rn * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)rn */rn protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn request.setCharacterEncoding("UTF-8");rn // TODO Auto-generated method stubrn String name=request.getParameter("name");rn String author=request.getParameter("author");rn String chuban=request.getParameter("chuban");rn rn Listerrors=new ArrayList();rn if(name==null||name.length()==0)rn errors.add("请填写书名");rn rn if(author==null||author.length()==0)rn errors.add("请填写作者");rn rn if(chuban==null||chuban.length()==0)rn errors.add("请填写出版社");rn rn if (errors.size()!=0)rn request.setAttribute("errors", errors);rn request.getRequestDispatcher(Error_view).forward(request, response);rn rn elsern Bookmark bookmark=new Bookmark(name.trim(),author.trim(), chuban.trim());rn request.setAttribute("bookmark", bookmark);rn request.getRequestDispatcher(Success_view).forward(request, response);rn rn rnrnrn[img=https://img-bbs.csdn.net/upload/201412/23/1419322712_389072.png][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]
碰到这句话 HTTP method GET is not supported by this URL 怎么办?
我在HTML里面用一个超连接 rnwelcome1 rn跳转页面到个servlet里面 然后得到page的值rn String page=request.getParameter("page");rn接着重定向rnresponse.sendRedirect(page);rn就出现了rntype Status reportrnrnmessage HTTP method GET is not supported by this URLrnrndescription The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).rn 这句话rnrn他说不支持GET方法,但是我看How to program java 这本书里就是这样做的,真郁闷,谁能告诉我到底是什么原因呢?
HTTP method GET is not supported by this URL?该怎么解决哦?
如题。我是用servlet实现“给手机发网上短信息“的功能,是照抄书上的。rn使用的是URL类和URLConnection类。rn其中URL为URL url=new URL("http://sms.sohu.com/Sys_Sms/News_Sms.php");//创建URL对象;rn而且我使用的是doPost方法。rn不知道怎么提示是:HTTP method GET is not supported by this URL。rn请各位高手指教。rnrnrn代码如下:rnpackage shortmessageservlet;rnrnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnimport java.util.*;rnimport java.net.*;//网络包rnrn/**rn * Title: rn * Description: rn * Copyright: Copyright (c) 2005rn * Company: rn * @author not attributablern * @version 1.0rn */rnrnpublic class ShortMessageServlet extends HttpServlet rn private static final String CONTENT_TYPE = "text/html; charset=GBK";rnrn //Initialize global variablesrn public void init() throws ServletException rn rn/* public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn doPost(request,response);rn rn */rn //Process the HTTP Post requestrn public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType(CONTENT_TYPE);//指定内容类型,并且可显示中文rn PrintWriter out = response.getWriter();rn //客户端表单域的各字段rn String UsrName;rn String ToNum;rn String Msg;rn String UsrPwd;rn String Msgid;rn String source;rn String StartPost="";rn String UsrNum;rn PrintWriter outURL;rn BufferedReader inURL;rn //String EndPost="&ok=+ %c8%b7+%B6%A8+\r\n";rn UsrName=request.getParameter("UsrName");rn ToNum=request.getParameter("ToNum");rn Msg=request.getParameter("Msg");rn UsrPwd=request.getParameter("UsrPwd");rn Msgid=request.getParameter("msgid");rn source=request.getParameter("source");rn UsrNum=request.getParameter("UsrNum");rn //对Post数据进行编码rn StartPost+="&UsrName=" +URLEncoder.encode(UsrName);rn StartPost+="&ToNum="+URLEncoder.encode(ToNum);rn StartPost+="&UsrPwd="+URLEncoder.encode(UsrPwd);rn StartPost+="&msgid="+URLEncoder.encode(Msgid);rn StartPost+="&source"+URLEncoder.encode(source);rn StartPost+="&UsrNum="+URLEncoder.encode(UsrNum);rn StartPost+="&ok=%c8%b7+%B6%A8+\r\n";rn //组成POST 实体来模拟表单提交rn //HttpStr+=StartPost+EndPost;rn String line;rn String returnHTML="";rnrn tryrn URL url=new URL("http://sms.sohu.com/Sys_Sms/News_Sms.php");//创建URL对象rn URLConnection connection=url.openConnection();//建立连接rn connection.setDoOutput(true);//可以输出数据rn outURL=new PrintWriter(connection.getOutputStream());//文本输出流rn outURL.println(StartPost);//写入POST数据rn outURL.flush();rn outURL.close();rn //读取响应rn inURL=new BufferedReader(new InputStreamReader(connection.getInputStream()));rn while((line=inURL.readLine())!=null)rn returnHTML+=line+"\n";rnrn rn catch(IOException ex)rn out.println("Error!"+ex);rnrn rn //取得要在响应中输出的文本流,即标准的HTMLrn out.println("");rn out.println(" 调用另一网站表单的Servle");rn out.println("");rn out.println(" 使用URLConnection调用另一网站表单的Servlet");rn if(returnHTML.indexOf("错误")==-1)rn out.println(" 短信息发送成功!");rnrn elsern out.println(" 信息提供错误,发送未成功。");rnrn rn out.println(" 发送的信息");rn out.println("");rn out.println(StartPost);rn out.println("");rn out.println(" 接收到的信息");rn out.println("");rn out.println(returnHTML);rn out.println("");rn out.println("</body>");rn out.println("</html>");rn/* out.println("");rn out.println(" ShortMessageServlet");rn out.println("");rn out.println(" The servlet has received a POST. This is the reply.");rn out.println("");rn */rn rnrn //Clean up resourcesrn public void destroy() rn rnrn
SpringMVC出现 Request method 'POST' not supported 错误
![图片说明](https://img-ask.csdn.net/upload/201610/14/1476451398_851931.png)n![图片说明](https://img-ask.csdn.net/upload/201610/14/1476451893_490488.png)n![图片说明](https://img-ask.csdn.net/upload/201610/14/1476451912_555477.png)n![图片说明](https://img-ask.csdn.net/upload/201610/14/1476451932_774744.png)n![图片说明](https://img-ask.csdn.net/upload/201610/14/1476451963_715213.png)n
我的tomcat3。23的servlet 总是报错:HTTP method POST is not supported by this URL?
我用的是tomcat3.23.rn用jsp 调用一个servlet,出现HTTP 405:资源不允许。rntomcat 3.23 报错:HTTP method POST is not supported by this URL HTTP method POST is not supported by this URLrnrn问:是什么原因了?rn谢谢!!rn
method '' not supported by automation object
method 'AAA' not supported by automation object rnrn总是提示这个错误,该从哪方面去找原因啊rnrn
tomcat HTTP Status 405 - HTTP method GET is not supported by this URL错误,高手来帮忙!
为什么我的http://localhost:8080能访问,而http://localhost:8080/shopping却不能访问,并出现HTTP Status 405 - HTTP method GET is not supported by this URL错误。在网上找两个半天都说是servlet中没有重写doGet()方法,可我确实重写了啊!还有就是我刚才还能运行出来着,可我什么都没有操作前一秒钟行后一秒钟就报错了,现在怎么整就是提示错误,重新部署还是不行,tomcat莫名其妙的错误真是太多了啊。。。好心帮我分析一下是怎么回事啊:不弄明白睡不着啊! rn我的servlet中确实重写了两个方法: rnpublic void doGet(HttpServletRequest request, HttpServletResponse response) rnthrows ServletException, IOException rndoPost(request,response); rn rnrnrnpublic void doPost(HttpServletRequest request, HttpServletResponse response) rnthrows ServletException, IOException rn//根据用户的不同请求进行不同处理 rnrequest.setCharacterEncoding("GBK"); rnif(request.getParameter("requesttype").equals("register")) rntry rnregister(request, response); rn catch (Exception e) rne.printStackTrace(); rn rn else if(request.getParameter("requesttype").equals("login")) rnrn rnrn rnrn我的web.xml文件中的配置: rn rn UserServlet rn com.ls.magon.shopping.servlet.UserServlet rn rn rn UserServlet rn /user rn rnrnfrom表单: rn rnrn大侠帮忙看看啊。。。 rn
J2EE SDK/1.3.1 - HTTP Status 405 - HTTP method GET is not supported by this URL
各位好,我在部署servlet时提示是成功的。但在WEB页http://127.0.0.1:8000/loanContext/loanAlias打开时却报了以下错误:rnJ2EE SDK/1.3.1 - HTTP Status 405 - HTTP method GET is not supported by this URLrnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage HTTP method GET is not supported by this URLrnrndescription The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).rnrnrnrnrnrn请教各位高手指点迷津,该是哪儿错了?感激感激
关于tomcat加载servlet出错的问题,提示:HTTP Status 405 - HTTP method GET is not supported by this URL
如题,最近从书上看了一段利用servlet搭建网上购物车的程序,用tomcat加载时就提示HTTP Status 405 - HTTP method GET is not supported by this URL,rn从网上发现很多人都朋友到过这个问题,按照很多中解决方案我的问题还是没有结果。rnrn最近要利用这个做一个大作业,时间比较紧,麻烦大家了,帮忙看一下问题处在哪?程序里明明没有使用doGet()方法,为什么还提示那个错误?rnrn源程序如下:rnpackage bits;rnrnimport java.util.*;rnimport java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnrnpublic class ShoppingServlet extends HttpServletrn private void doForward(String strurl,HttpServletRequest req,HttpServletResponse res)rn throws ServletException,IOExceptionrn rn String url=strurl;rn ServletContext sc=getServletContext();rn RequestDispatcher rd=sc.getRequestDispatcher(url);rn rd.forward(req,res);rn rn public void [color=#FF0000]doPost[/color](HttpServletRequest req,HttpServletResponse res)rn throws ServletException,IOExceptionrn rn req.setCharacterEncoding("GBK");rn HttpSession session =req.getSession(false);rn if(session==null)rn rn res.sendRedirect("/jsp/error.html");rn rn Vector buylist=(Vector)session.getAttribute("shopping.shoppingcart");rn String action=req.getParameter("command");rn if(action.equals("DELETE"))rn rn String del=req.getParameter("productvalue");rn int d=(new Integer(del)).intValue();rn int i=0;rn for(i=0;i
访问SERVLET报HTTP 405错,错误信息是:" HTTP method GET is not supported by this URL"
我在学习WEBSPHERE写了一个WEB程序,在调试的时候可以看到欢迎页面,在我的欢迎页面中有一超链指向SERVLET,但是访问该超链的时候出现错误:"HTTP method GET is not supported by this URL,The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL)."错误代码为:"HTTP 405".不知是何原因,用WEBPHERE本身的调试器是这样,我又把它的WAR包导出到TOMCAT4的发布目录下同样如此.后来我把SERVLET的源码拷到JBUILDER里不做任何改动,编译了一下,然后把CLASS文件替换原来的SERVLET的CLASS文件就好了.请问这是什么原因.
SpringMVC ajax提交报Request method 'POST' not supported 错误
这是view.jsprn[img=https://img-bbs.csdn.net/upload/201706/13/1497319335_965052.png][/img]rn这是comment.jsprn[img=https://img-bbs.csdn.net/upload/201706/13/1497319353_606916.png][/img]rn这是JQuery代码,ajax提交(我项目名叫SpringMVCMg,所以url应该没什么问题的)rn[img=https://img-bbs.csdn.net/upload/201706/13/1497319552_499667.png][/img]rn这是Controller代码rn[img=https://img-bbs.csdn.net/upload/201706/13/1497319577_201366.png][/img]
Method 'SaveAs' not supported by automation object
varrn oXL, oWB, oSheet, oRng, VArray : Variant;rn SysPath:string;rnbeginrn SysPath:=ExtractFilePath(application.exename);rn Aq.Close;rn Aq.SQL.Add('psp_goodtype');rn Aq.Open;rn while not Aq.Eof dorn beginrn // Start Excel and get Application Objectrn oXL := CreateOleObject('Excel.Application');rn oXL.Visible := false;rn // Get a new workbookrn oWB := oXL.Workbooks.Add;rn oSheet := oWB.ActiveSheet;rnrn // Add table headers going cell by cellrn rn ……rn //get the classrn [color=#FF0000]oXL.SaveAs(SysPath[/color]+'\'+Aq.Fields[3].AsString+'_'+Aq.Fields[4].AsString+'_'+Aq.Fields[5].AsString+'.xls');rn oXL.Workbooks.Close;rn oXL.Close;rn Memo1.Lines.Insert(0,[color=#FF0000]Aq.Fields[3].[/color]AsString+'---'+Aq.Fields[4].AsString+'---'+Aq.Fields[5].AsString);rn Aq.Next;rn end;rnend;rn运行提示Method 'SaveAs' not supported by automation object,难道Delphi操作Excel自动保存还有什么玄机?rn另外读取数据库时如果我不使用fidlds[0]这样的序号来读,使用字段名应该使用哪个方法呢?请举例说明,谢谢!
springmvc Request method 'GET' not supported
@RequestMapping("/aa")rn@Controllerrnpublic class EmployeesHandler rn rn rn @Autowiredrn private EmployeeDao employeeDao;rn @Autowiredrn private DepartmentDao departmentDao;rn rn @RequestMapping(value="/insert/id",method=RequestMethod.DELETE)rn public String delete(@PathVariable("id")Integer id)rn employeeDao.delete(id);rn System.out.println(1);rn return "redirect:emps";rn rn rn @RequestMapping(value="/insert",method=RequestMethod.POST)rn public String insertList(Employee employee)rn employeeDao.save(employee);rn return "redirect:emps";rn rn rn @RequestMapping(value="/insert",method=RequestMethod.GET)rn public String inset(Map map)rn map.put("departments",departmentDao.getDepartments());rn map.put("employees", new Employee());rn return "insert";rn rn rn rn @RequestMapping(value="/emps")rn public String list(Map map)rn map.put("employees", employeeDao.getAll());rn return "list";rn rnrnrnrnemployeeDao.delete(id);System.out.println(1);;可以在控制台输出1,rn但是在redirect:emps后就提示Request method 'GET' not supportedrn
The method 'SelectMany' is not supported 错误求教
[b]Error :[/b]rnThe method 'SelectMany' is not supportedrnrn[color=#FF0000]Line 54: Response.Write(CommentsAfterJanuary1st.Count());[/color]rnLine 55: rnLine 56: //foreach (var k in CommentsAfterJanuary1st)rnrnrn[b]CODE:[/b]rnrnvar postsWithCommentsAfterJanuary1st = from p in collection.Linq()rn where p.Comments.Any(c => c.TimePosted >rn new DateTime(2009, 1, 1)) rn select newrn rn Title = p.Title,rn Body = p.Bodyrn ;rnrn foreach (var p in postsWithCommentsAfterJanuary1st)rn rn Response.Write(p.Title + " " + p.Body + " "); rn rn//以上执行成功rn var CommentsAfterJanuary1st = from p in collection.Linq()rn from c in p.Commentsrn where p.CharCount > 10 && c.TimePosted > new DateTime(2010, 1, 1)rn select newrn c.Email;rn Response.Write(CommentsAfterJanuary1st.Count());rn//错误发生rn
405 POST not supported ???
使用post为什么会出现这样的错误,而使用get则没问题rn代码如下,使用resin作服务器rn public class login extends rnrnlogin.javarnHttpServlet rn public void doPost(HttpServletRequest request,rn HttpServletResponse response)rn throws ServletException, IOException rn response.setContentType("text/html");rn PrintWriter out = response.getWriter();rn try rn......
405 POST not supported!!!!!!!!!!!!!!!!
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>rn rn<%String softname=request.getParameter("softname");rn String content=request.getParameter("content");rn String pic=request.getParameter("pic");rn String softtime=request.getParameter("softtime");rn Class.forName("org.gjt.mm.mysql.Driver").newInstance();rn Connection con; rn con=DriverManager.getConnection("jdbc:mysql://localhost/flying?user=flying&password=flying&useUnicode=true&characterEncoding=gb2312");rn Statement stmt=con.createStatement();rn String sql=INSERT INTO software(softname,content,softtime,pic) VALUES ('"+softname+"','"+content+"','"+softtime+"','"+pic+"');rn stmt.executeUpdate(sql);rn stmt.close;rn con.close;rn %>rnrnform提交到这个页面,提示:405 POST not supportedrn哪里错了!
错误405 POST not supported
数据库连接成功以后做了个简单的登陆页面,但老出现405 POST not supported的问题rn1,登陆代码:rn<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>rnrnrnrn rn 登陆rnrnrnrn 登陆rn rn rn 用户名rn rnrnrn rnrn 密码rn rnrnrn rn rn提交rn取消rnrnrnrnrnrn2,检验代码:rn<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" import="java.util.*"errorPage="" %>rnrnrnrn rn checkloginrnrnrnrnrn<% boolean success=true;rnString userID=new;rnString(request.getParameter("userID").getBytes(ISO8859_1),"GBK");rnString password=new;rnString(request.getParameter("password").getBytes(ISO8859_1),"GBK");rn%>rnrn<% Class.forName("org.gjt.mm.mysql.Driver").newInstance();rnConnection con=DriverManager.getConnection("jdbc:mysql://localhost/testmysql?user=root&password=normanwu82&useUnicode=true&characterEncoding=8859_1");rnStatement stmt=con.createStatement(); %>rnrn<%rn sql="select * from users where userID='"+userID+"' and password='"+password+"'";rnResultSet rs=stmt.executeQuery(sql);rn %>rn rn <% if(success)rn session.setAttribute("userID",userID);rn success=true;rn 登陆成功!rn rn elsern %>用户名或密码错误,请重新登陆!<% rn rn rn rs.close();rn con.close();rn %>rn 返回rn rnrnrn3,书中的检验代码中与数据库相连用的是连接池,我不太用会,就想直接连接数据库可不可以,所以我就自己写了代码,我想应该没那么难,但是却老是出现405 POST not supported的问题,请高手指点。rn4,如果用连接池的话,id,scope,class等该如何设置啊?
Property or Method not supported by layers of this type.
我在MapX中添加一个UserLayer,功能是添加个比例尺显示在地图左上角,那段代码是从别人的源码考过来的,地图单位和我的不一样,我的是Km,运行后可以显示比例尺,但弹出个对话框说Property or Method not supported by layers of this type.点击确定又弹出,就这样不断地弹出来,程序没法使用了,那位知道这是怎么回事,帮帮忙啊,谢谢了!!rn下面是代码rnvoid CWLDispView::OnDrawUserLayer(LPDISPATCH Layer, long hOutputDC, long hAttributeDC, rn LPDISPATCH RectFull, LPDISPATCH RectInvalid)rnrn float barWidth =(float)0.5, barHeight =(float)0.08;rn float startX =(float).3, startY =(float).3;rn long x1, y1;rn int i;rnrn // attach to dc that mapx passed us so we can use rn // mfc CDC object. (we will detach before exiting this methodrn CDC dc;rn CPen pen;rn CBrush brushRed, brushWhite, *pOldBrush;rn CFont *pOldFont;rn rn pen.CreatePen(0,1,(COLORREF)0);rn brushRed.CreateSolidBrush(255);rn brushWhite.CreateSolidBrush(16777215);rnrn dc.Attach((HDC)hOutputDC);rn dc.SetAttribDC((HDC)hAttributeDC);rnrn //Set map mode to HI-Englishrn dc.SetMapMode(MM_HIENGLISH);rn //Set pen to blackrn CPen *pOldPen = dc.SelectObject(&pen);rn pOldBrush = dc.SelectObject(&brushRed);rnrn //convert to HiEnglish, Conversion needed because one HIENGLISH unit is .001 inchrn x1=(long)(startX*1000);rn y1=(long)(startY*1000);rn barWidth*=1000;rn barHeight*=1000;rnrn for (i=0; i<=1; i++) rn long x2 =(long)(barWidth+x1);rn long y2 =(long)(barHeight+y1);rn rn /*** First Section ***/rn if (i==0) rn dc.SelectObject(&brushRed); //Redrn rn else rn dc.SelectObject(&brushWhite); //Whitern rnrn // with mapMode HIENGLISH, positive is x to the right, positive y is uprn dc.Rectangle(x1, -y1, x2, -y2);rnrn /*** Second Section ***/rn x1=x2;rn x2=(long)(barWidth+x1);rn if (i==0) rn dc.SelectObject(&brushWhite); //Whitern rn else rn dc.SelectObject(&brushRed); //Redrn rn dc.Rectangle(x1, -y1, x2, -y2);rnrn /*** Third Section ***/rn x1=x2;rn x2=(long)(barWidth*2+x1);rn if (i==0) rn dc.SelectObject(&brushRed); //Redrn rn else rn dc.SelectObject(&brushWhite); //Whitern rn dc.Rectangle(x1, -y1, x2, -y2);rn rn /*** Reset Values for bottom bar pass***/rn x1=(long)(startX*1000);rn y1=y2;rn // End Forrnrn // Calculate Pixels Per Inchrn CPoint pt(1000, 1000); // In HIENGLISH 1000 units = 1 inchrn dc.LPtoDP(&pt); // Convert inch to pixelrn long lPixPerInch = pt.x;rnrn CRect rc;rn CView::GetClientRect(&rc);rnrn float screenX, screenY;rn double mapX1, mapY1;rn // subtract lPixPerInch from center to get 1 inch to left of Centerrn screenX = (float)(rc.right/2-lPixPerInch);rn screenY = (float)(rc.bottom/2);rn try rn m_ctrlMapX.ConvertCoord(&screenX, &screenY, &mapX1, &mapY1, miScreenToMap);rn rn catch (COleDispatchException *e) rn e->ReportError();rn e->Delete();rn rn catch (COleException *e) rn e->ReportError();rn e->Delete(); rn rn rn double mapX2, mapY2;rn // add lPixPerInch to center to get 1 inch to right of Centerrn screenX = (float)(rc.right/2+lPixPerInch);rn screenY = (float)(rc.bottom/2);rn try rn m_ctrlMapX.ConvertCoord(&screenX, &screenY, &mapX2, &mapY2, miScreenToMap);rn rn catch (COleDispatchException *e) rn e->ReportError();rn e->Delete();rn rn catch (COleException *e) rn e->ReportError();rn e->Delete(); rn rn CFont font;rn font.CreatePointFont(100, "Arial", &dc);rnrn pOldFont = dc.SelectObject(&font);rn dc.SetTextColor(0); //Blackrn dc.SetBkMode(TRANSPARENT);rnrn // Output ScaleBar start Label = 0rn x1=(long)(startX*1000);rn y1=(long)((startY-.2)*1000);rn dc.TextOut(x1,-y1,"0");rnrn // Output label for distance of 1 inchrn x1=(long)(barWidth*2+startX*1000);rnrn CString str;rn str.Format("%.0f",m_ctrlMapX.Distance(mapX1, mapY1, mapX2, mapY2)/2);rn // Need to center text over center line. will move it 60 units for each characterrn int iCenterAdjustment = 60*str.GetLength();rn dc.TextOut(x1-iCenterAdjustment,-y1,str);rnrn // Output label for distance of 2 inchesrn x1=(long)(barWidth*4+startX*1000);rnrn str.Format("%.0f",m_ctrlMapX.Distance(mapX1, mapY1, mapX2, mapY2));rn // Need to center text over end line. will move it 60 units for each characterrn iCenterAdjustment = 60*str.GetLength();rn dc.TextOut(x1-iCenterAdjustment,-y1,str);rnrn // Output label for Units "Miles"rn x1=(long)(barWidth*2+startX*1000);rn y1=(long)((startY+.2)*1000);rn // Need to center text over center line. will move it 60 units for each characterrn str.Format("Miles");rn iCenterAdjustment = 60*str.GetLength();rn dc.TextOut(x1-iCenterAdjustment,-y1,str);rnrn dc.SelectObject(pOldBrush);rn dc.SelectObject(pOldPen);rn dc.SelectObject(pOldFont);rnrn // detach dc so destructore won't call Release itrn dc.ReleaseAttribDC();rn dc.Detach();rn
http 转 https 后,警告:Request method get not supported
http 转 https ,配置了http 自动转 https,代码没有变动,使用 SpringMVC,访问时没有显式指定端口,即使用默认端口,前端发送 post 请求后后台会报警告 get method not supported。回归到 http 配置就可以正常访问。求各位大佬帮忙,在线等。。
SpringMVC提示HTTP Status 405 - Request method 'GET' not supported
在登录页面有一个注册的超链接,提供注册功能,登录页面的代码如下:rn rn rn rn Usernamern rn rn rn Passwordrn rn rn rn rn rn rn rn [color=#FF0000][b]请注册用户[/b][/color]rn rn rn $logInfo rn rnrn由于跳转到注册页面不需要做任何处理,因此在xml文件中配置直接跳转:rn rn rnrn但是点击超链接就会提示:rn[img=https://img-bbs.csdn.net/upload/201601/14/1452759371_77472.png][/img]rnrn这是怎么回事啊,求大神指点!!!!!
servlet页面报 405 - HTTP method GET is not supported
页面是从main.jsp跳到CategoryServlet的,CategoryServlet没有重写doGet和doPost方法。main.jsp页面中没有写明是用post方法,默认的get。rn可是jsp页面就是跳转不到CategoryServlet这里,为什么呢??rnrn====main.jsp==rnrn![图片说明](https://img-ask.csdn.net/upload/201611/30/1480485218_68371.png)rnrnrn====CategoryServlet======rnrnrn![图片说明](https://img-ask.csdn.net/upload/201611/30/1480485240_994710.png)
http secure socket is not supported???
想用NMHTTP控件POST数据到网页,网页采用https连接,POST后发生错误http secure socket is not supported,是NMHTTP不支持https吗?怎么解决?indy是否可以解决?
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法

相似问题