On Wed, Jul 16, 2008 at 10:55 AM, Jonathan Mast
<[EMAIL PROTECTED]> wrote:
> I thought a forward would require the same type of individual parameter
> extraction and rebuilding.
>
> Please let me know how to do this in bulk.

Not sure what you mean by "in bulk"; here's a simple example:

  String target = "/someOtherUrl";
  RequestDispatcher rd = getServletContext().getRequestDispatcher(target);
  rd.forward(request, response);

You'll find that the parameters of the orignal request all show up at
the destination. :-)

If you have lots of mappings, a properties file or DB table would allow
something like
   MyTrafficManager.getDestination(target);

HTH,
-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to