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
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
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
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 :-)
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
.
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
.
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