dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02578
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 863: Minor fixed
------------------------------------------------------------
revno: 863
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-10-15 14:08:29 +0200
message:
Minor fixed
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/StreamActionSupport.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/StreamActionSupport.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/StreamActionSupport.java 2009-09-30 20:26:58 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/StreamActionSupport.java 2009-10-15 12:08:29 +0000
@@ -44,7 +44,13 @@
extends ActionSupport
{
protected static final String CONTENT_TYPE_PDF = "application/pdf";
-
+ protected static final String CONTENT_TYPE_ZIP = "application/zip";
+ protected static final String CONTENT_TYPE_JSON = "application/json";
+ protected static final String CONTENT_TYPE_HTML = "text/html";
+ protected static final String CONTENT_TYPE_TEXT = "text/plain";
+ protected static final String CONTENT_TYPE_XML = "text/xml";
+ protected static final String CONTENT_TYPE_EXCEL = "application/vnd.ms-excel";
+
// -------------------------------------------------------------------------
// ActionSupport implementation
// -------------------------------------------------------------------------