Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 HttpPost httppost=new HttpPost(url); 如果我尝试访问位于 localhost:8080 中的 Openbravo-erp 中的模块,那么 url 应该是什么。
HttpPost 类具有三个构造函数
HttpPost() HttpPost(String uri) HttpPost(URI uri)
对于第二个构造函数,您可以像下面这样传递。
HttpPost post = new HttpPost("http://localhost:8080/openbravo/ws/dal/Product");
希望这可以帮助 !。