How would I forward parameters in a servlet?
Posted on 2010-11-15
Currently I have a servlet which stores some data into a database. I intend for it to forward the user afterwards to some other website depending on a parameter sent to the servlet. The problem is I can't get it to forward the parameters or don't know how rather.
Site A = The Servlet which stores data
Site B = The Other Company they do what they want with the data
Site C = The form which passes parameters to Site A
Site C ---> Site A (parameters) -----> Site B (same parameters as Site A)
It would not be to hard to redirect the user if I was just using get. However, I'm using get or post and need to have the ability to send get or post.