mimeType = "text/html"; if (session == null) { session = server.createNewSession(hostAddr); if (!"notAllowed.jsp".equals(file)) { file = "index.do";
/** * Create a session with a given connection. * * @param conn the connection * @return the URL of the web site to access this connection */ public String addSession(Connection conn) throws SQLException { WebSession session = createNewSession("local"); session.setShutdownServerOnDisconnect(); session.setConnection(conn); session.put("url", conn.getMetaData().getURL()); String s = (String) session.get("sessionId"); return url + "/frame.jsp?jsessionid=" + s; }
/** * Create a session with a given connection. * * @param conn the connection * @return the URL of the web site to access this connection */ public String addSession(Connection conn) throws SQLException { WebSession session = createNewSession("local"); session.setShutdownServerOnDisconnect(); session.setConnection(conn); session.put("url", conn.getMetaData().getURL()); String s = (String) session.get("sessionId"); return url + "/frame.jsp?jsessionid=" + s; }
mimeType = "text/html"; if (session == null) { session = server.createNewSession(hostAddr); if (!"notAllowed.jsp".equals(file)) { file = "index.do";
/** * Create a session with a given connection. * * @param conn the connection * @return the URL of the web site to access this connection */ public String addSession(Connection conn) throws SQLException { WebSession session = createNewSession("local"); session.setShutdownServerOnDisconnect(); session.setConnection(conn); session.put("url", conn.getMetaData().getURL()); String s = (String) session.get("sessionId"); return url + "/frame.jsp?jsessionid=" + s; }
mimeType = "text/html"; if (session == null) { session = server.createNewSession(hostAddr); if (!"notAllowed.jsp".equals(file)) { file = "index.do";
mimeType = "text/html"; if (session == null) { session = server.createNewSession(hostAddr); if (!"notAllowed.jsp".equals(file)) { file = "index.do";