12 9 / 2011

I searched for quite a while to find this framework. Its built on top of Akka and its really straightforward to write services.

12 9 / 2011

Custom Username Password Parameter Names in Spring Security 3

Spring Security 3 does not allow custom parameter names for username & password, if you are using using form based login. You have to use the default j_username and j_password. This may not be a problem for many use cases, but sometimes you would want to change that.

Read More

Tags:

Permalink 1 note

02 5 / 2010

Facebook style input box using YUI2

Facebook Style Autocomplete

A facebook style input box using YUI 2 Autocomplete. Demo here.

Download the code here.

02 5 / 2010

CSS Selector for HTTPBuilder

If you use HTTPBuilder to crawl web pages and extract information, you would have noticed that it uses the Groovy’s XML Support for parsing HTML. Groovy’s GPath is powerful, but HTML has something more powerful (not to mention simple, easy and intuitive) for selection, CSS Selectors. jQuery has proved css selectors are indeed, the best way for DOM manipulation.

Read More

15 4 / 2010

window.open behavior in Google Chrome

In Chrome,if window.open is called with same window name by pages which are managed by the same process, then the first call creates a new window and subsequent calls return reference to the existing window.If the pages are managed by different processes, then each call to window.open creates a new window.So far, i have been thinking

Read More