Changeset 21802


Ignore:
Timestamp:
2010-03-17T14:30:14+13:00 (12 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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    //
Note: See TracChangeset for help on using the changeset viewer.