Monday, February 16, 2004

Lot's of changes to my onthoo.com website:

  • Selection of providers

  • Languages: en and nl

  • Url rewriting for support without cookies

  • Remember last searches

  • Prepare for Hibernate support



Had problems with i18n, sometimes the language wasn't correctly set although the correct locale was set in the session. Apparently I needed a _en.properties file too. I thought Struts looked for .properties if he couldn't find a _en.properties?

Also replaced JCS caching with EHCache, since it is used in Hibernate too. Again one jar less - woohoo!

Now the request parameters are rewritten: /do/execute?p1=1&p2=2 is now p1=1/p2=2/execute.do. This should give better Google rankings since request parameters aren't always indexed, but directories are (and you get an even higher ranking if a keyword occurs in the url). All of this according to Search Engine World.