tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GB Developer" <>
Subject RE: Servlet problem
Date Mon, 20 Feb 2006 22:36:12 GMT
> Can anyone tell me where I'm going wrong?

what filip said, but also...
>From your servlet source code, make sure not to expect a server-side
operation, such as: 

dispatcher.forward(request, response);
to result in a client-side 'refresh' to the 'specified' page
(searchnone.jsp, when you obtained the dispatcher).

dispatcher.forward() and .include() are performed as part of the original
request for /WEB-INF/classes/SearchServlet (which filip pointed out is
Just from the way you phrased your question, I thought you were hoping to
see 'searchnone.jsp' on the address bar, and you won't get that with your
servlet as coded.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message