Stock quote and chart from Yahoo in Java

Posted on Sun 17 August 2008 in Java • Tagged with java, stocksLeave a comment

I was recently in need of a stock quote web service in order to display quote information and charts for a corporate website I was working on, so I started looking around for something, free of course. I kept reading that the most common example of web as a service ...

Continue reading

Simple Cross Site Scripting (XSS) Servlet Filter

Posted on Sat 23 February 2008 in Java • Tagged with java, xssLeave a comment

Ran into some issues on some of our Java sites today and needed a quick fix to protect the sites from malicious Cross Site Scripting (XSS) attempts. If you're not aware of what XSS is and have websites that have sensitive user data, you may want to read up ...

Continue reading

Java image resizer servlet

Posted on Sun 16 December 2007 in Java • Tagged with image, java, resizeLeave a comment

I'm working on a photo gallery application running on Java 6 using Tomcat 6, JQuery for the client side, and images and xml generated from Picasa. I needed several sizes of images for thumbnails and animations and I wasn't about to create multiple image sizes with Fireworks (I ...

Continue reading

SEO Friendly URL's for Java EE frameworks

Posted on Wed 14 November 2007 in Java • Tagged with rewrite, rules, seo, strutsLeave a comment

I've recently been working with an SEO firm to improve our "keyword density", structure and several other things on our public website. In their long list of recommendations was the task of producing nice pretty urls with relevant keywords, dashes instead of underscores, and so on, easily said, not ...

Continue reading