Use Apache HTTPD for handling external components. Alternatively you may use
httpd as web server and delegate incoming requests (for wicket app!) to app
server via AJP. HTPD provides great control over response (setting cache
control in your case!). I always prefer HTTPD mounted external contents
(image, files etc.).


Warm Regards,
Anirban Basak
Ph : 91 33 2357 7177 Extn: 277



-----Original Message-----
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Sent: Sunday, March 15, 2009 11:08 AM
To: users@wicket.apache.org
Subject: Re: Wicket Application bypassing- Internet Explorer file downloads
over SSL do not work with the cache control headers‏

external links do not use a wicket callback, you have to install a
filter that intercepts those urls and sets the headers

-igor

On Sat, Mar 14, 2009 at 10:11 PM, Alexita <ctgog...@hotmail.com> wrote:
>
> Hi,
> I have a basic Internet banking application developed in wicket,
everything
> works fine on test, but in production with https, all links which try to
> download a pdf were broken. That's an IE bug, but Microsoft is not
> interested in fixing it(all other browsers work ok).
>
>  I know the solution is set the response headers as follows:
> response.setHeader("Cache-Control", "must-revalidate");
> response.setHeader( "Pragma", "public" );
>
> Wicket allows to override response's headers (setHeaders(WebResponse
> response)) but only for "webpage"  subclasses.
>
> I using ExternalLinks added to a form not related at all with the webPage,
> There's any way to override those headers?
> I tried to do directly in the HTML as a META tags, but doesn't work
either.
>
> or there are a better way to bypass this problem?? (not using IE is not an
> option)
>
> Thanks in advance for any information you can provide.
>
> Alexa
> --
> View this message in context:
http://www.nabble.com/Wicket-Application-bypassing--Internet-Explorer-file-d
ownloads-over-SSL-do-not-work-with-the-cache-control-headers%E2%80%8F-tp2251
9881p22519881.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.13/1999 - Release Date: 03/13/09
05:59:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.13/1999 - Release Date: 03/15/09
14:07:00


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to