Revision 2079
Added by Matt Jones about 20 years ago
MetaCatServlet.java | ||
---|---|---|
438 | 438 |
PrintWriter out = response.getWriter(); |
439 | 439 |
handleGetRevisionAndDocTypeAction(out, params); |
440 | 440 |
out.close(); |
441 |
} else if (action.equals("getversion")) { |
|
442 |
PrintWriter out = response.getWriter(); |
|
443 |
out.println(Version.getVersionAsXml()); |
|
444 |
out.close(); |
|
441 | 445 |
} else if (action.equals("login") || action.equals("logout")) { |
442 | 446 |
} else if (action.equals("protocoltest")) { |
443 | 447 |
String testURL = "metacat://dev.nceas.ucsb.edu/NCEAS.897766.9"; |
Also available in: Unified diff
Added a simple action for finding out the current metacat version. The information is pulled from the property file, so be sure to update the version in the property file before shipping a release.