On Tue, 14 Aug 2001, Jonathan Pierce wrote:
> String theNewURL = "/servlet/" + getClass ().getName () + "?GOTO=NextScreen";
> theNewURL = theResponse.encodeUrl (theNewURL);
> ServletContext theServletContext = theDBServlet.getServletContext ();
> theServletContext.getRequestDispatcher (theNewURL).forward (theRequest,
> theResponse);
why are you encoding the url? DOing that will cause ? and = to be encoded
as %whatever; so the query string wont be interpreted as you
intend. Having said that I'm not sure if it would work anyway (o: Why
not set an attribute in the request and then forward the request as is and
have the servlet look for that attribute and act accordingly?
btw - isn't this a tomcat-user question?
cheesr
dim