Changeset 21802

Show
Ignore:
Timestamp:
17.03.2010 14:30:14 (10 years ago)
Author:
kjdon
Message:

need to get the writer fromm response *after* setting the output to utf-8

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/OAIServer.java

    r21779 r21802  
    258258  public void doGet(HttpServletRequest request, HttpServletResponse response) 
    259259    throws ServletException, IOException { 
    260     PrintWriter out = response.getWriter(); 
    261260    logUsageInfo(request); 
    262261    //out.println("url="+request.getRequestURL());// /oaiserver     
     
    266265    request.setCharacterEncoding("UTF-8"); 
    267266    response.setContentType("text/xml;charset=UTF-8"); 
     267    PrintWriter out = response.getWriter(); 
    268268     
    269269    //