Jean-Eric Cuendet (RPT) wrote: > I would add that it appears if I use: > MyPage myPage = ... > throw new PageRedirectException(myPage); > and: > throw new PageRedirectException("MyPage"); > > Also, after the RedirectException, the URL is not .../MyPage.html but > .../OtherPage.html where OtherPage is where the Redirect occurs. Is > that normal? Yes, that's normal, PageRedirectException eventually does a cycle.activate(pageName) while RedirectException forces a client redirect.
As for your initial issue, I think i've seen a related jira issue. I'll look for it. > > > Thanks a lot > -jec > > Jean-Eric Cuendet (RPT) wrote: >> Hi, >> I have a Tapestry 4.0.2 website which works fine since months. Today >> I realized that the charset of the site was not consistent: the >> webserver returned charset=UTF-8 while the html code was >> "charset=ISO-8859-1" >> The pages themselves are in UTF-8 and were displayed correctly. >> >> So I changed the BorderComponent (which is put around each page at >> renderinig time) to return charset=UTF-8 >> It works OK for all pages except in *one* situation. >> If I get a given page directly with a URL like >> my.site.com/servlet/MyPage.html (whch get page MyPage.page/html) the >> charset is UTF-8 and OK. >> But if I get the page through a PageRedirectException("MyPage") then >> the charset is wrong. The code in html say charset=UTF-8, the web >> server also, but the page itself seems to have been converted to >> 8859-1 and so the browser displays it badly... >> >> Any idea what happens? >> Thanks >> -jec >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]