aspose file tools*
The moose likes Struts and the fly likes Problem with a parameter containing accent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with a parameter containing accent" Watch "Problem with a parameter containing accent" New topic
Author

Problem with a parameter containing accent

nick angel
Ranch Hand

Joined: Dec 14, 2005
Posts: 39
Hello to everyone.

I have a jsp page with an input box. A user can enter a document title containing accents such as � ...
My problem is that in my Struts action class I look up in a database to retrieve the specified document. The document's title for example is H�ROUX.
When I enter H�ROUX in the textbox, I receive my message when there are no documents available. The document however does exist.
The problem I am having is sending a parameter from my client side through my action form and into my action class.

Could anyone please offer some guidance as to how I could overcome this obstacle (articles etc... would be greatly appreciated).
Thank you all for your time.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18989
    
    8

Character Conversions from Browser to Database is the article you are looking for.
nick angel
Ranch Hand

Joined: Dec 14, 2005
Posts: 39
Thank you so much. I think it's exactly what I was looking for. Again thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with a parameter containing accent