tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GB Developer" <gb107...@globallyboundless.com>
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
problematic)
 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message