| | |
| | | public static final String RB_STOP_SERVER = "stopServer"; |
| | | //public static final String RB_ABLAGE_TEST = "testAblage"; |
| | | //public static final String RB_STORE_TEST = "testStore"; |
| | | public static final String RB_SLASH = "slash"; |
| | | public static final String SLASH = "/"; |
| | | |
| | | private int port; |
| | | |
| | |
| | | * @param ctxName Name des Kontexts, unter dem der Server aufrufbar sein soll |
| | | */ |
| | | public void setContextName(String ctxName) { |
| | | String slash = App.getRs(RB_SLASH); |
| | | if (!ctxName.startsWith(slash)) { |
| | | this.ctx = slash + ctxName; |
| | | if (!ctxName.startsWith(SLASH)) { |
| | | this.ctx = SLASH + ctxName; |
| | | } else { |
| | | this.ctx = ctxName; |
| | | } |