Posts

Showing posts from March, 2011

flXHR Error:15, securityError, A security sandbox error occured with the flXHR request.

Error: 15
Type: securityError
Description: A security sandbox error occured with the flXHR request.
Source Object Id: [your object id]
I am trying to deploy my application on Tomcat and was continuously facing the issue. The solution to this problem is placing your crossdomain.xml in /webapps/ROOT.

Just for reference attaching the sample crossdomain.xml on which I was working trying to workout my PoC:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>Hope this will help.

CSS common problems

overflow:hidden; doesn't work with span use div insteadfont-weight: Semi-Bold; doesn't work on most browsers use font-weight: 600; instead

Comparison between Firefox 4 and IE 9

Guys I have installed the latest version of both the browsers as an developer my comparison are tabled below. This is what i have experienced and doesn't based on any statics:
IE 9FF4JS running timeIE is definitely better than earlier IE'sFF is much faster than any browser i am using right now (which includes Safari 5, chrome 10) and is comparable to chrome 10 on win 7.Look and FeelIE looks much better and lesser clutteredFF doesn't look badToolbar usage buttons like refresh and Go etc...IE embeds them in the address bar and i find it quite confusing and harder to use (you can customize and move refresh button to the front of address bar but for me result was no different in usage)FF doesn't Change from previous versionsNotifications (Save a file. block script etc.)Notification bar pops up from the bottom of the page which takes time to get use tooFF doesn't Change from previous versionsAddress BarProvides united Address and search bar gives good experienceFF doesn…

java.net.SocketException: Connection reset

I am able to fix the problem via setting the following params on the HTTPClient class...client.getParams().setParameter("http.socket.timeout", new Integer(0));
client.getParams().setParameter("http.connection.stalecheck", new Boolean(true));java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590) at org.apache.commons.httpclient.HttpMethodBase.execute(Htt…