mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
DS-236 bug fix - JSPUI need to set the contentType header
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4515 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -82,7 +82,7 @@ public class AuthorityChooseServlet extends DSpaceServlet {
|
||||
//
|
||||
// Choices result = new Choices(testValues,start,testValues.length,Choices.CF_ACCEPTED,false);
|
||||
Writer writer = response.getWriter();
|
||||
|
||||
response.setContentType("text/xml; charset=\"utf-8\"");
|
||||
// borrow xalan's serializer to let us use SAX choice menu generator
|
||||
Properties props =
|
||||
OutputPropertiesFactory.getDefaultMethodProperties(Method.XML);
|
||||
|
Reference in New Issue
Block a user