Hello.
We just override the method onAfterResponseSerialized from
RemoteServiceServlet in the RPC services implementation and this fixes this
issue:
@Override
protected void onAfterResponseSerialized(String serializedResponse) {
HttpServletResponse response = getThreadLocalRespo
We came across this problem too, I was banging my head against the wall for
hours.
I see some others solved it with filters, if you use apache you can mess
with the headers via the Headers Module. Add the following to the
httpd.conf:
LoadModule headers_module modules/mod_headers.so
...
Of course you can just do this for iOS devices. Just parse the UserAgent
parameter from the request.
Sincerely,
Joseph
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/
You could write the filter to only affect POSTs
Or, you could configure the filter mapping to only apply the filter to your
Servlet(s).
Jamie.
On Friday, 2 November 2012 14:23:44 UTC-4, Jeffrey Roe wrote:
>
> So this will cause all files to be downloaded over and over again.
> Is there a way to
So this will cause all files to be downloaded over and over again.
Is there a way to do this fix just for IOS devices.
Jeffrey Roe,
On Tue, Oct 2, 2012 at 5:42 PM, Nicolas Hoby wrote:
> Works perfect, thank you!
>
> Just for completion, to install the filter add the following to your
> Web.xml:
Works perfect, thank you!
Just for completion, to install the filter add the following to your
Web.xml:
HeaderFilter
server.services.HeaderFilter
HeaderFilter
/*
On Sep 27, 11:40 am, Christian Kue
Implement a Header-Filter:
public class HeaderFilter implements Filter {
public void destroy() {
}
public void doFilter(ServletRequest req, ServletResponse res,
FilterChain filterChain)
throws IOException, ServletException {
HttpServletResponse response
Hi,
Whats the best away to solve this issue? I have hundreds of RPC and I'm
looking for a global way to change the header to no-cache.
Sincerely
Rui
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web vi
Thanks. Good to know.
-- J.
Am Sonntag, 23. September 2012 08:17:10 UTC+2 schrieb KevMo:
>
> I'm not sure how many people this will affect, but I thought I would send
> out a heads up. Check out these posts for more information:
>
> http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-
I'm not sure how many people this will affect, but I thought I would send
out a heads up. Check out these posts for more information:
http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results
http://www.devthought.com/2012/09/22/understanding-the-ios6-ajax-bugs/
--
You
10 matches
Mail list logo