browser

How to create a new directory in grails application to store jasper report files those can be downloaded by user

孤街醉人 提交于 2020-01-06 12:39:45
问题 I want to create a new directory to store all pdf reports generated by jasper reports and they should be accessible to users to download as well For example: I am exporting the a file called "pdfreport20110804788.pdf".when i put this file in that directory .i set certain things in controller method and i need the file created to be returned from the groovy method where the new directory is created and its is exported as pdf file so that file should be returned to the controller calling method

How do I set different options for X-UA-Compatible in Apache for IE8 and IE9?

旧街凉风 提交于 2020-01-06 09:12:47
问题 I was facing issue with rendering big tables in IE8 (See this) it goes really slow and hangs. This was working correctly in IE7 so to solve it I have used Header add X-UA-Compatible IE=EmulateIE7 in my Apache httpd.conf file and now it all works fine. I also use IE9 and my site works fine with adding HEADER for IE7 emulation. But with this fix IE9 is also using EmulateIE7 I would rather like it to use IE9 rendering engine. I want IE8 to use IE7 rendering engine and IE9 to use IE9 rendering

How do I set different options for X-UA-Compatible in Apache for IE8 and IE9?

南笙酒味 提交于 2020-01-06 09:12:12
问题 I was facing issue with rendering big tables in IE8 (See this) it goes really slow and hangs. This was working correctly in IE7 so to solve it I have used Header add X-UA-Compatible IE=EmulateIE7 in my Apache httpd.conf file and now it all works fine. I also use IE9 and my site works fine with adding HEADER for IE7 emulation. But with this fix IE9 is also using EmulateIE7 I would rather like it to use IE9 rendering engine. I want IE8 to use IE7 rendering engine and IE9 to use IE9 rendering

Do the values in the accept attribute require a computer to know the mime types?

社会主义新天地 提交于 2020-01-06 08:48:29
问题 so I have a standard <input type="file" accept="..."/> where the accept, is a large list of different mime types. I already verify the filetypes on the server backend but I want to be sure I am not filtering out valid files on the clients UI. I realise older browsers will not filter files at all, this is fine. My concern is that a modern browser may not recognise a mime-type and filter out files that are actually valid. So my question is basically, how reliable is the 'accept' attribute? For

Get Upload Folder and Filename from Browser

给你一囗甜甜゛ 提交于 2020-01-06 08:23:15
问题 Is it possible to get the client's directory path for a file that is uploaded to a server? 回答1: Most contemporary browser do not show the complete path to a file's origin, but something like /fakepath/file.ext . But it depends on your browser. 来源: https://stackoverflow.com/questions/6660094/get-upload-folder-and-filename-from-browser

How to create a symlink within browserFS

我只是一个虾纸丫 提交于 2020-01-06 08:09:14
问题 I'm trying to create a symlink inside of BrowserFS. I can confirm that BrowserFS can read sym links just fine... (I tested by making a zip file and loading it in, and doing fs.readFile and all is A-OK) However, when I try to create a sym link via fs.symlink , I get an Error, I assume this is meaning it is not supported. Can any of the folks out there that may use browserFS know how to propertly create, or any workarounds for creating symlinks? One idea is to create the contents of a symlink

How to create a symlink within browserFS

左心房为你撑大大i 提交于 2020-01-06 08:08:20
问题 I'm trying to create a symlink inside of BrowserFS. I can confirm that BrowserFS can read sym links just fine... (I tested by making a zip file and loading it in, and doing fs.readFile and all is A-OK) However, when I try to create a sym link via fs.symlink , I get an Error, I assume this is meaning it is not supported. Can any of the folks out there that may use browserFS know how to propertly create, or any workarounds for creating symlinks? One idea is to create the contents of a symlink

Is Firefox the only browser that supports floating point numbers as width declaration? (e.g. 163.4px) [duplicate]

懵懂的女人 提交于 2020-01-06 07:55:15
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Are the decimal places in a CSS width respected? I have a navigation ( li ) which needs a pixel value to fit within an ul (has display:block ). So I use width:163.4px for the li 's. This does work fine in Firefox (v13.0.1) but in Safari, Chrome and Opera the width is too short. (The width is there like 163px... So I guess those browsers rounding down the value.) Explain me why only Firefox does support floating

Links disabled in html

做~自己de王妃 提交于 2020-01-06 07:45:14
问题 I've been working on a revamp of the charity site I'm the webmaster for, heroinitiative.org. It is located here: http://www.heroinitiative.org/revamp/default.html (and no it's not live code, it sits alongside the live site just so I can show progress to my boss, it's not really important to keep it under wraps, which is why I can post it here) My problem: For some reason all links in the footer (from id "bodyfooter" on down, including anything I put below the "Partners/Thanks" footer) have

Cookies not saved in the browser

时光毁灭记忆、已成空白 提交于 2020-01-06 07:25:23
问题 I am trying to set a cookie in my browser using a Python Flask backend however, when we call the set cookie function I am unable to observe the cookie being saved by the browser. The following is my current understanding about how this is supposed to work: Cookies are just key value pairs that may have an expiration which makes them persistent, otherwise they expire when the browser is closed to set a cookie, all that is necessary is to use the set-cookie header in the response. I call the