<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ page import="org.crosswire.utils.HTTPUtils" %> <%@ page import="org.crosswire.community.projects.ntmss.data.Institution" %> <% String country = request.getParameter("country"); if (country != null) country = new String(country.getBytes("iso8859-1"), "UTF-8"); String place = request.getParameter("place"); if (place != null) place = new String(place.getBytes("iso8859-1"), "UTF-8"); %> <%=(place!=null)?(" place=\""+place+"\""):""%>> <% response.setContentType("text/xml"); Institution insts[] = Institution.getInstitutions(country, place); for (Institution i: insts) { %> <% } %>