![]() |
using request.setencoding() twice...
I am currently working J2EE framework native to our company,
The flow of request in framework matches to Struts.. When Jsp is submitted control gots to class similar to Action processor.. through Front Controller and sequence of other classes.. I am getting problem with Encoding format.. I want to set the encoding format of JSP to "UTF-8" but as the encoding format is already been set.. by some other class in Framework... i came to this point by getting result of out.write(request.getCharacterEncoding()); as ISO-8859-1 on the page Now i am in the situation that i want it back to set to UTF-8. Help please its pretty urgent.. |
Problem resolved
It was invoking getReader() function before coming sending redirect to JSP,
Now I have extended frontController servlet and overloaded servlet methods, in the processing of post and get method i am setting the character encoding and calling respective parent method. :) |
| All times are GMT -5. The time now is 2:07 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC