Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-13 Thread Andrew Klochkov
Al Maw wrote: You probably need to write a servlet filter that wraps the entire request that sets the encoding: WicketFilter does exactly the same thing, but the response encoding is already set (by container?) so it remains wrong. It seems like the approach Igor mentioned works only if you use

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-12 Thread Andrew Klochkov
Igor Vaynberg wrote: http://herebebeasties.com/2006-12-20/using-a-servlet-filter-for-404-error-page/ Igor, I tried this approach under tomcat 5.5.17 but got problems with character encoding. When WicketFilter gets the request to the correct page (defined in the web.xml

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-12 Thread Al Maw
Andrew Klochkov wrote: Igor Vaynberg wrote: http://herebebeasties.com/2006-12-20/using-a-servlet-filter-for-404-error-page/ I tried this approach under tomcat 5.5.17 but got problems with character encoding. When WicketFilter gets the request to the correct page (defined in the web.xml

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-10 Thread Andrew Klochkov
Hi, I don't know the best way but we just created error404.html which forwards to the home page. Notice that several lines of dots - they make the response bigger than 512Kb, so IE doesn't show it's friendly 404 page. Please share your expirience if you have a better way to handle it :-)

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-10 Thread Martijn Dashorst
On 9/10/07, Andrew Klochkov [EMAIL PROTECTED] wrote: the response bigger than 512Kb, so IE doesn't show it's friendly 404 I hope I don't have to download half a meg to find out my original request couldn't be found ;) But yes, you need to do some special processing to make the page bigger than

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-10 Thread Igor Vaynberg
. At present i have used error directive in web.xml and I wonder how should i go about it, if i want to handle this from within wicket. Thanks -- View this message in context: http://www.nabble.com/-Wicket--Vs---HTTP-404---File-not-found--tf4409883.html#a12580317 Sent from the Wicket

[Wicket] Vs [HTTP 404 - File not found]

2007-09-09 Thread chickabee
. Thanks -- View this message in context: http://www.nabble.com/-Wicket--Vs---HTTP-404---File-not-found--tf4409883.html#a12580317 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL