http://someDomain.labla.com//somethingWithParametersWhy shouldn't it? What's the difference?
server refuses my request. the reason is that java turns this url into
EJP wrote:The fact that he does not understand the rules, won't make my application working, neither your persistence of denying the existence of problems!!!thats the problem.What problem? There is no problem in evidence here. Just someone who doesn't understand the rules of URLs.
where params is a list of params and getClient() get the client which has the right cookies.
HttpPost post = new HttpPost(loginUrl); post.setEntity(new UrlEncodedFormEntity(params, HTTP.DEFAULT_CONTENT_CHARSET)); HttpClient client = getClient() ; HttpResponse resp = client.execute(request);