Question: I'm trying to create a portal/dashboard using jQuery & Bootstrap. I need the ability to display gadgets with fixed dimensions that can be displayed on the same page together. I am giving the user the ability to define a template for each page, which defines the dimensions of gadgets that can be displayed on the page and also their layout.

I can already do a basic non-responsive dashboard but the part that is confusing me, is that I want to make the dashboard responsive. This would be fairly easy if gadgets were all of similar sizes, organised into rows, as per Bootstrap's grid system.

I guess the best example is this screenshot I found online.

![Dashboard example](https://i.stack.imgur.com/TaveQ.jpg)

The first gadget spans two rows and the next two only span one. I can't see how to do this using Bootstrap's grid system.

Alternatively, should it even be responsive? Is it a better user experience if the dashboard isn't responsive?

Edit: I do have clients who use tablets and/or cellphones.

Answer: 
This bad decision was made by a developer in the year 2006.
Here is a nice citation from someone that explains the whole situation from java perspective:

> 
> "As you probably guessed by now it's a bug (<http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6382788>). Not the retry mechanism, of course, that's just crap. The bug is that it also happens for a POST (which is by default not idempotent per HTTP RFC). But don't worry, Bill fixed that bug a long time ago. Bill fixed it by introducing a toggle. Bill learned about backward compatibility. Bill decided it's better to leave the toggle 'on' by default because that would make it bug-backward-compatible. Bill smiles. He can already see the faces of surprised developers around the globe running into this. Please don't be like Bill?"  
> 
> [Source](https://dzone.com/articles/pola-and-httpurlconnection)
> 
> 
> 

Well the proposed solution is:

```
System.setProperty("sun.net.http.retryPost", "false")

```

But we cannot do this on android! The only remaining solution then is:

```
httpURLConnection.setChunkedStreamingMode(0);

```

[Which seems to be working, but isn't very effective from a requesting-time perspektive.](https://code.google.com/p/android/issues/detail?id=163595)

EDIT: 
I could not use this implementation so i looked for an alternative library.
I found out that the implementation of HttpUrlConnection uses [OkHttp](https://github.com/square/okhttp) since Android 4.4. As OkHttp is opensource i could search if they have also problems with silent retries. And yep they [had problems with it](https://github.com/square/okhttp/issues/2394) and fixed it in April, 2016. [CommonsWare](https://stackoverflow.com/questions/34168030/which-implementation-of-httpurlconnection-is-used-for-android#comment56083913_34168030) (a real [android expert](https://stackoverflow.com/users/115145/commonsware)) explains that every manufacturer can decide which implementation they can use. As a consequence of this there must be a lot of devices out there that do silent retries on POST requests and as a developer we only can try some workarrounds. 

My solution will be to change the library

EDIT 2: To give you a final answer: [You can now use OkHttp as the transport layer for Volley with minimal code.](https://gist.github.com/JakeWharton/5616899)

[Another helpful solution](https://stackoverflow.com/a/30245868/2061089)
[As it says in one of the links you quoted](http://www.coderanch.com/t/490463/sockets/java/Timeout-retry-URLHTTPRequest), you need to set `sun.net.http.retryPost` to `false`.

Or, don't use fixed-length or chunked transfer mode: see [this bug report](http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6672144).