boolean xmlNamespaceAware,
boolean xmlValidation) {
if (debug >= 1) {
- log("add: Adding host '" + name + "'");
+ log(sm.getString("hostManagerServlet.add", name));
}
// Validate the requested host name
protected synchronized void remove(PrintWriter writer, String name) {
if (debug >= 1) {
- log("remove: Removing host '" + name + "'");
+ log(sm.getString("hostManagerServlet.remove", name));
}
// Validate the requested host name
*/
protected void list(PrintWriter writer) {
- if (debug >= 1)
- log("list: Listing hosts for engine '"
- + engine.getName() + "'");
+ if (debug >= 1) {
+ log(sm.getString("hostManagerServlet.list", engine.getName()));
+ }
writer.println(sm.getString("hostManagerServlet.listed",
engine.getName()));
*/
protected void start(PrintWriter writer, String name) {
- if (debug >= 1)
- log("start: Starting host with name '" + name + "'");
+ if (debug >= 1) {
+ log(sm.getString("hostManagerServlet.start", name));
+ }
// Validate the requested host name
if ((name == null) || name.length() == 0) {
*/
protected void stop(PrintWriter writer, String name) {
- if (debug >= 1)
- log("stop: Stopping host with name '" + name + "'");
+ if (debug >= 1) {
+ log(sm.getString("hostManagerServlet.stop", name));
+ }
// Validate the requested host name
if ((name == null) || name.length() == 0) {
hostManagerServlet.cannotStopOwnHost=FAIL - Cannot stop own host {0}
hostManagerServlet.stopped=OK - Host {0} stopped
hostManagerServlet.stopFailed=FAIL - Failed to stop host {0}
+hostManagerServlet.add=add: Adding host [{0}]
+hostManagerServlet.remove=remove: Removing host [{0}]
+hostManagerServlet.list=list: Listing hosts for engine [{0}]
+hostManagerServlet.start=start: Starting host with name [{0}]
+hostManagerServlet.stop=stop: Stopping host with name [{0}]
htmlHostManagerServlet.title=Tomcat Virtual Host Manager
htmlHostManagerServlet.messageLabel=Message: