This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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