tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cartwright <>
Subject getRequestDispatcher and URL outside of context
Date Tue, 26 Sep 2000 23:15:56 GMT
Hello All,

I would like to find a way to have my servlet call an arbitrary URL
(e.g. a cgi, servlet in another context, or even a URL on a different
host).  I don't seem to be able to do this with:
rd = getServletContext().getRequestDispatcher(url);

It will only let me forward to pages/servlets in the same context.

I am using Tomcat 3.1, and would greatly appreciate any suggestions.


-- john

John Cartwright
Professional Research Assistant / Associate Scientist
(303) 497-6284

View raw message