redirected to searchnone.jsp as I am doing, only
when I've pressed the button and no items have been found that match
the search parameter.
Mark
- Original Message - From: "Caldarale, Charles R"
<[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, Fe
ved the problem fine. It's my fault for
misunderstanding how things were processed.
Thanks for everyone's help again
Mark
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, February 21, 2006 8:24 AM
OTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 20, 2006 11:30 PM
Subject: RE: Fw: Servlet problem
From: Mark Whitby [mailto:[EMAIL PROTECTED]
Subject: Re: Fw: Servlet problem
If nothing is found then it redirects the user to
searchnone.jsp. If an item or more than one
> From: Mark Whitby [mailto:[EMAIL PROTECTED]
> Subject: Re: Fw: Servlet problem
>
> If nothing is found then it redirects the user to
> searchnone.jsp. If an item or more than one item
> is found then the page will redirect to itemlist.jsp
> or matchlist.jsp
As a previo
- SearchServlet. Is there
any wy map both pages in one go?
Mark
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, February 20, 2006 10:36 PM
Subject: RE: Fw: Servlet problem
From: Mark Whitby
> From: Mark Whitby [mailto:[EMAIL PROTECTED]
> 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?
o: "Tomcat Users List"
Sent: Monday, February 20, 2006 10:23 PM
Subject: Re: Fw: Servlet problem
per your web.xml
http://localhost:8080/WEB-INF/classes/SearchServlet?itemvalue=type+search+criteria+here
should be
http://localhost:8080/searchmatch.jsp?itemvalue=type+search+criteria+here
Fi
per your web.xml
http://localhost:8080/WEB-INF/classes/SearchServlet?itemvalue=type+search+criteria+here
should be
http://localhost:8080/searchmatch.jsp?itemvalue=type+search+criteria+here
Filip
Mark Whitby wrote:
EDIT: I've sent this twice because the first one contained an error in what I
EDIT: I've sent this twice because the first one contained an error in what I
wrote. Ignore the first one.
Hi all,
Apologies for the stupidity of this email but I'm having a few servlet
problems. I've created the following SearchServlet.java file, compiled it into
a class file using Netbeans