[EMAIL PROTECTED] wrote:
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
It didn't work. I got a 500 later in my code. Here's what I did:
if(detail.size() > 0)
{
dbutil = new DBUtil(getServletConfig().getInitParameter(Constants
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
OK. My fault. This works:
else
{
response.sendError(404, "");
return;
}
Now when I look in my http server log I see a status of 404 with the original
URL.
Thanks for your help.
In Response To
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
It didn't work. I got a 500 later in my code. Here's what I did:
if(detail.size() > 0)
{
dbutil = new
DBUtil(getServletConfig().getInitParameter(Constants.JNDI_NAME));
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
Thanks very much. I will try that.
In Response To:
[EMAIL PROTECTED] wrote:
> See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf
> of a User
>
> I have a J2EE application residin
[EMAIL PROTECTED] wrote:
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
I have a J2EE application residing on Tomcat. The pages are dynamically
generated. If a use enters an invalid request I redirect him to a generic error
page (which isn't really an e
: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2007 3:15 PM
Subject: Generating a 404 response
> See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on
> behalf of a User
>
> I have a J2EE application residing on Tomcat. The pages are dynamically
> generated. If
immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Sunday, September 09, 2007 3:15 PM
Subject: Generating a 404 response
See Thread at: http://www.techienuggets.com/Detail?tx
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of
a User
I have a J2EE application residing on Tomcat. The pages are dynamically
generated. If a use enters an invalid request I redirect him to a generic error
page (which isn't really an error page but just a jsp th