wood burning stoves 2.0*
The moose likes Servlets and the fly likes Encoding query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Encoding query" Watch "Encoding query" New topic

Encoding query

Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
When I receive a request, on doing request.getCharacterEncoding() it always returns null, is there any means to set the encoding of the request object at jsp level itself ?
Thuogh it can be done at servlet level using setCharacterEndoing etc. .. Or is that request always comes in null encoding ?

- Varun
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
I haven't worked with what you ask in particular, but the HttpServletRequest object is present in the JSP as the implicit request object.

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link: http://aspose.com/file-tools
subject: Encoding query
Similar Threads
Parsing RSS2.0 feeds using XML Pull Parser
Problem using oreilly,multipart-request with Websphere 5.1
Character encoding
problem with Euro symbol
what is offending classes?