četrtek, 19. julij 2007

JSP form and UTF-8

Today I was trying to help one of my coworkers who had a problem accessing a value on a JSP page and storing it into a database. Of course he was using UFT-8 characters, so they ended up in database all wrong.
A solution is very simple :))))
Just add

before you access any parameter in the request object.
I got the solution from a blog.
Objavite komentar