From: Geoffrey T. <gta...@na...> - 2002-09-30 21:34:12
|
Chris Backas wrote: > Hello all, > > I've got a servlet which is basically a set of selection > criteria, and the > end result is to get a list of parameters from the user, and > then pass this > on to another program via a URL - essentially, I want to be > able to do > Application.forward() to a URL that's not pointing to another > servlet. Is > an HTTP redirect with the parameters encoded into the URL the > only way I can > achieve this? Any alternative ideas? Thanks for any input. An HTTP redirect with parameters encoded into the URL seems like the only way to go. You could also indirectly encode the parameters by writing the parameters to a row in a database table, then just encode the primary key for that row into the redirect (perhaps encrypted for security?). That _might_ be a good idea if you were planning on saving the parameters in a database anyway. - Geoff |