on 18/11/2010
I was little bit suprised when I didn’t find in JQuery an ability to bind event’s handler before than already binded event’s handlers list. Yes, it is possible to first attach our handler rather than others, but this may be very difficult sometimes. So I spent some time looking through JQuery sources and found what [...]
Posted in English, Programming | Tagged event, handler, jquery, order
on 05/09/2010
I use Jersey with flash uploader and the problem I met is that I need to determine “file partialy uploaded” situation ’cause user has an opportunity to cancel it at any time. All solutions that I found for this problem were on PHP (look for The uploaded file was only partially uploaded text). I didn’t [...]
Posted in English, Programming | Tagged flash, java, jersey, partially uploaded, swfupload, temporary file
on 21/08/2010
In our project we use Sun/Oracle implementation of JAX-RS — Jersey ’cause it’s greate framework for build REST-services. But there are some troubles with uploading files feature. When you uploading file with latin chars in file name everything is fine, you read this file name on server and it’s exactly the same as on client [...]
Posted in English, Programming | Tagged bug, java, jersey, rest, russian file name, utf8
on 27/05/2010
The problem with sharing cookie with JSESSIONID value arises when we start use subdomains system in our application. For example: images.portal.com, security.portal.com, etc.
Respectively a cookie with unique JSESSIONID value will be created for each domain address and you can get some problems. For example, with autorization if it stores credentials in session. So for our [...]
Posted in English, Programming | Tagged cookie, jboss, jsessionid, session, share, subdomains, valve
on 05/04/2010
Many online services have stopped supporting Internet Explorer 6 and when a user tries to access them with the browser sent him to the information page, where the offer to upgrade IE to latest version or choose another browser. Here is my easiest solution for this:
<html>
<head>
[...]
Posted in English, Programming | Tagged javascript, no ie6
on 13/10/2009
ImageMagick is the great set of image processing utilities. But there are some problems to interact with it from your programs (java program in my case). About one of them I would like to talk. In one of our latest projects we used ImageMagick to resize images and put a watermark on them. Everything was [...]
Posted in English, Programming | Tagged convert, image magick, java, non-conforming