Nice tip to follow while developing Web services

Posted: Saturday, September 25, 2010 by Venkat Pola in Labels:
0

It is always help full to add following content type/headers while sending a response to browser

response.setContentType("text/html;charset=UTF-8"); (For the sake of multi-language support )
response.addHeader("Cache-Control", "no-cache, no-store, must-revalidate"); (For the sake of IE-6)

Enhanced by Zemanta

0 comments: