Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encoding

 
Wagner Danda Da Silva Filho
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folks,

I'm having trouble with Encoding in Struts, specifically with a Dynaform that doesn't handle special chars. Help, please,
 
Wagner Danda Da Silva Filho
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This time I'll answer myself, this was very easy to solve:

I changes the jsp page directive from:
<%@ page language="java" pageEncoding="UTF-8"%>

To:
<%@ page language="java" pageEncoding="ISO-8859-1"%>

And everything starts to work just fine!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic