fixing contentType in the response
This commit is contained in:
parent
90192d2085
commit
9713bfb0a8
|
@ -546,6 +546,9 @@
|
|||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<dependent-module archiveName="geo-utility-1.3.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geo-utility/geo-utility">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="geoportal-data-mapper-1.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/geoportal-data-mapper/geoportal-data-mapper">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
||||
|
||||
|
|
|
@ -80,6 +80,7 @@ public class WatingServerActionServlet extends HttpServlet {
|
|||
*/
|
||||
protected void sendResponse(HttpServletResponse response, String action, String message, boolean waiting) throws IOException {
|
||||
response.setStatus(HttpServletResponse.SC_OK);
|
||||
response.setContentType("text/html");
|
||||
response.getWriter().write(setHTMLMessage(action, message, waiting));
|
||||
response.flushBuffer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue