// Tell the config connection that we have added a new X11 App, if
// the config connection exists (it should)
Object obj = getServletContext().getAttribute(XAPPS_CONN_ATTR);
if (obj != null) {
XAppsWebConfigConnection connection = (XAppsWebConfigConnection)obj;
connection.addX11App(appName, command);
}
// After we have added the entry, then redisplay the listings
try {
handleBrowse(request, response, xAppsCollection);