- server.reload(data[i]);
- }
- } catch (TransformerConfigurationException tce) {
- out.println(exc_out("stylesheet error", tce));
- } catch (Exception e) {
- out.println(exc_out(null, e));
- }
- }
- html_close(out); return;
- }
- if (cmd.equals("/update")) {
- final String key = request.getParameter("keys");
- final String [] data = split(key, ",");
- html_open(response, out);
- for (int i = 0; i < data.length; i++) {
- try {
- if (data[i] == null) {
- out.println(msg_out("updating all keys"));
- server.updateAll();
- } else {
- out.println(msg_out("updating key "+data[i]));
- server.update(data[i]);