tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Fw: Servlet problem
Date Mon, 20 Feb 2006 22:36:19 GMT
> From: Mark Whitby [mailto:ug82msw@cs.bham.ac.uk] 
> Subject: Re: Fw: Servlet problem
> 
> Yeah but that's not what I want to happen.  I want the 
> servlet to redirect the user to searchnone.jsp as per
> the servlet code and not to the servlet itself, if that
> makes sense?

The ACTION parameter in a form specifies a URL, not a file system path.
Try replacing "WEB-INF/classes/SearchServlet" with "/searchmatch.jsp"
(not sure about the leading slash).

By the way, you have your servlet mapping specified twice.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message