RE: How To Handle Mis-Typing of URL By Users

2004-09-19 Thread David G. Friedman
unknown="true" > forward="/error404.jsp" /> > > And yes, I have used the "unknown" parameter at > least once in a Struts v1.1 > deployment, though not recently. > > Regards, > David > > -Original Messa

RE: How To Handle Mis-Typing of URL By Users

2004-09-19 Thread Caroline Jen
the "unknown" parameter at > least once in a Struts v1.1 > deployment, though not recently. > > Regards, > David > > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 16, 2004 9:34 AM > To: Struts

RE: How To Handle Mis-Typing of URL By Users

2004-09-17 Thread David G. Friedman
ast once in a Struts v1.1 deployment, though not recently. Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 9:34 AM To: Struts Users Mailing List; Craig McClanahan Subject: Re: How To Handle Mis-Typing of URL By Users Hi, I

Re: How To Handle Mis-Typing of URL By Users

2004-09-16 Thread Caroline Jen
Hi, I prepared the error404.jsp (simply typed in a warning sentence) and placed the file in the AppName/WEB-INF/web.xml file this way: index.jsp 404 /error404.jsp /tags/struts-bean /WEB-INF/lib/struts-bean.tld I tested mis-typing. But, my sentence;

Re: How To Handle Mis-Typing of URL By Users

2004-09-16 Thread Craig McClanahan
On Wed, 15 Sep 2004 13:06:01 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Place this stancza below your welcome-file-list in your web.xml. You can > use a static HTML page or a JSP. > > > 404 > /error404.jsp > > In a servlet 2.4 environment, you could also map this condition di

Re: How To Handle Mis-Typing of URL By Users

2004-09-15 Thread Bill Siggelkow
Place this stancza below your welcome-file-list in your web.xml. You can use a static HTML page or a JSP. 404 /error404.jsp -Bill Siggelkow Caroline Jen wrote: I have many links in my web site. And, for example; the name of my web site is XYZCompany. and we type http://localhost:8080/X

How To Handle Mis-Typing of URL By Users

2004-09-15 Thread Caroline Jen
I have many links in my web site. And, for example; the name of my web site is XYZCompany. and we type http://localhost:8080/XYZCompany to get to view the web site. For example, there is a link 'directory' to get to the web page that shows the directory of the company. And users can type http://