Forum Moderators: phranque
Currently I have a setup where an html form 'a' submits to servlet 'A', which redirects the user to page 'b'.
I need to change this to something where 'a' submits to servlet 'B', which itself simulates a submit to servlet 'A' and then redirects to 'b' (ie B submits to A, A's redirect is ignored, B redirects user to b). I'm guessing that from servlet B I need to somehow build my own Request or Response object, redirect it to A, and then redirect the user's response object to b. Unfortunately, if this even is the right route to take, I can't figure out how to construct my own request/response... Any suggestions? I can be more specific with th details if need be.
Any help is appreciated. Thanks.
Unfortunately, we usually struggle to answer Java related questions, not too many Java wizards in our memebrship I suspect. If nobody provides any useful suggestions, a search of Sun's Java Programming Archive [forum.java.sun.com] or a post in their Java Programming Forum [forum.java.sun.com] may prove helpful.