2015-07-17 18:48 GMT+03:00 Mitch Claborn mitch...@claborn.net:
I spent some time yesterday digging through code without much luck. Today
I'm going to experiment with this: getting a Request Dispatcher for the URL
from the ServletContext, creating a dummy ServerRequest and ServerResponse
object
2015-07-17 18:48 GMT+03:00 Mitch Claborn mitch...@claborn.net:
I spent some time yesterday digging through code without much luck. Today
I'm going to experiment with this: getting a Request Dispatcher for the URL
from the ServletContext, creating a dummy ServerRequest and ServerResponse
On 07/17/2015 10:48 AM, Mitch Claborn wrote:
On 07/16/2015 02:19 PM, chris derham wrote:
I already have a custom error page. When I detect that a URL
returned by
google would return a 404, I exclude it from the search results so
that the
user never sees it.
Mitch
Mitch,
Ok I see now what
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Mitch,
On 7/20/15 2:09 PM, Mitch Claborn wrote:
On 07/17/2015 10:48 AM, Mitch Claborn wrote:
On 07/16/2015 02:19 PM, chris derham wrote:
I already have a custom error page. When I detect that a URL
returned by google would return a 404, I
On 07/16/2015 02:19 PM, chris derham wrote:
I already have a custom error page. When I detect that a URL returned by
google would return a 404, I exclude it from the search results so that the
user never sees it.
Mitch
Mitch,
Ok I see now what you mean. Sorry your original email was quite
Short question: How can I, from within code running under Tomcat,
determine if a given URL request to that tomcat instance would result in
a 404 or not, without calling back to the Tomcat using an HTTP HEAD or GET?
Background: We use google custom search by calling the google server and
then
On 07/16/2015 01:04 PM, chris derham wrote:
Short question: How can I, from within code running under Tomcat, determine
if a given URL request to that tomcat instance would result in a 404 or not,
without calling back to the Tomcat using an HTTP HEAD or GET?
Background: We use google custom
I already have a custom error page. When I detect that a URL returned by
google would return a 404, I exclude it from the search results so that the
user never sees it.
Mitch
Mitch,
Ok I see now what you mean. Sorry your original email was quite clear.
Hmm interesting challenge. Big
Short question: How can I, from within code running under Tomcat, determine
if a given URL request to that tomcat instance would result in a 404 or not,
without calling back to the Tomcat using an HTTP HEAD or GET?
Background: We use google custom search by calling the google server and
then