I need to redirect one html (A) to another (B).
I wrote function f in javascript that posts to (B) and put it in (A).
I am calling this function in body's "onLoad".
Now, I am accessing (A) page from browser. Redirection works good and I immideately see the (B) page.
But when I am doing the request to (A) page from java code, I get the content of (a) page itself, and not the redirected one.
How can I solve this problem?