By the way, Firefox 3.5 allows you to make XMLHttpRequests cross domain (in other words code loaded from some domain foo.com can make XHR requests to domain bar.com). Mozilla's spec suggests a special HTTP header for that:
Access-Control-Allow-Origin: *
with this header your server informs client that cross domain request is Ok from any domain. Instead of * you can use there a name of domain allowed to perform cross domain requests.
And here is Java servlets filter from JSOS lets you add such a header to your site so cross domain requests could be allowed for existing web applications - Cross domain Ajax filter.
Sunday, July 05, 2009
Saturday, July 04, 2009
Photo from Twitter
Real time data stream mashup pictures from Twitter has been updated. Time killing application :-)
Friday, July 03, 2009
Math captcha
Web component describes a different kind of captcha system - one that asks the user questions in plain text. The trick is to use mathematics questions with a variety of forms and varying numbers, so that it should be difficult to write a bot to parse them. See it here: Math question taglib.
Thursday, July 02, 2009
Shared sessions
Technical info: how to share sessions and implement cross context applications on Tomcat
P.S. and Session administration taglib from Coldtags suite lets you perform administrative tasks for your session scope.
P.S. and Session administration taglib from Coldtags suite lets you perform administrative tasks for your session scope.
Wednesday, July 01, 2009
Contact info
Let us present a new way for sharing your contact info. You can publish your data right on your site (blog) in the form allowed one click transfer to phone address book. A simple JavaScript widget lets you do that (see MECARD widgets).
Widget presents a QR-code that could be scanned by the visitors. After that it is just one click (confirmation) for adding your contact. Now more manual typing and your data will be always correct. For example, add the following fragment to your HTML code:
<script language="JavaScript">
var qr_shareName = 'Coldbeans';
var qr_shareEmail = 'info@servletsuite.com';
var qr_shareURL = 'http://www.servletsuite.com';
</script>
<script type="text/javascript" src="http://www.servletsuite.com/qr-address.js"></script>
and you will get this:

Of course, you can set more details (phone, address) as well as a new size for QR-code image. See MECARD JavaScript widget for more details.
Widget presents a QR-code that could be scanned by the visitors. After that it is just one click (confirmation) for adding your contact. Now more manual typing and your data will be always correct. For example, add the following fragment to your HTML code:
<script language="JavaScript">
var qr_shareName = 'Coldbeans';
var qr_shareEmail = 'info@servletsuite.com';
var qr_shareURL = 'http://www.servletsuite.com';
</script>
<script type="text/javascript" src="http://www.servletsuite.com/qr-address.js"></script>
and you will get this:
Of course, you can set more details (phone, address) as well as a new size for QR-code image. See MECARD JavaScript widget for more details.
Tuesday, June 30, 2009
QR code for maps
Our mashup QR codes for maps has been updated. Lets you prepare QR code for map and copy maps to mobile devices. Maps will be presented as static pictures so you can open/view them on any phone.
Monday, June 29, 2009
Mobile maps
Our mashup Mobile maps has been updated. Lets you prepare maps for the mobile devices. Maps will be presented as static pictures so you can open/view them on any phone.
Subscribe to:
Posts (Atom)