Browser.setUrl(arg0,arg1,arg2) [message #638214] |
Wed, 10 November 2010 09:35  |
Eclipse User |
|
|
|
Hello,
im trying to pass specific parameters in header with the org.eclipse.swt.browser.Browser.setUrl(String arg0, String arg1, String[] arg2).
It seems to be working to fetch the specified url..
but not for the underlying/subsequent call.
For example,
let say i try to get google.be with a specific header..
The header is rightly set to fetch url http://www.google.be..
and it is fetched right..
but this page is loading ressources from http://www.google.be/compressiontest/gzip.html
and header parameters are not transmitted.
Is there a way to tell the browser to include a specific header parameter in every underlying http GET/POST/...
Thanx in advance,
marc
|
|
|
|
Re: Browser.setUrl(arg0,arg1,arg2) [message #808105 is a reply to message #638214] |
Mon, 27 February 2012 07:09  |
Eclipse User |
|
|
|
Hi,
I am trying to retrive my data on the servlet via. request.getParameter("asdfg");
but is am getting null.
even my postData in servlet is null.
browser.setUrl("//localhost:8090/web_i18n/login.htm?action=checklogin&language=1",
"&asdfg=admin",
new String[] {"User-agent: SWT Browser","Custom-header: this is just a demo"});
|
|
|
Powered by
FUDForum. Page generated in 0.03780 seconds