Hello,
I have a java servlet which get the form request from one webpage in domain A, and it would deal with the form, and would send the result in another form as a request to another webpage in domain B.
I'm wondering how to submit the form programmatically in Java servlet? I tried to use
javax.servlet.RequestDispatcher.forward(request, response)
but it doesn't work because it can only forward to a resource in the same domain.