2 import="org.ultramonkey.l7.model.*,org.ultramonkey.l7.controller.*,org.ultramonkey.l7.view.*"
3 language="java" contentType="text/html; charset=UTF-8"
10 L7guiServletBase base = new L7guiServletBase();
11 if (session.isNew() || base.checkSession(session) == false) {
12 // session.invalidate();
13 MessageView error = new MessageView(41374,
14 LogCategorySet.GUI_USER_AUTHENTICATION,
15 Message.INVALID_SESSSION);
16 session.setAttribute(SessionKeys.RESULT_MESSAGE, error);
17 response.sendRedirect(RedirectPages.LOGIN);
25 String threadStatus = (String) session
26 .getAttribute(SessionKeys.THREAD_STATUS);
28 if (threadStatus == null) {
29 MessageView error = new MessageView(41375, LogCategorySet.GUI_SNMP,
30 Message.UNEXPECTED_ERROR);
31 session.setAttribute(SessionKeys.RESULT_MESSAGE, error);
32 response.sendRedirect(RedirectPages.LOGIN);
34 } else if (threadStatus.equals(SessionKeys.THREAD_RUNNING)) {
36 } else if (threadStatus.equals(SessionKeys.THREAD_SUCCESS)) {
37 response.sendRedirect(RedirectPages.SNMP_MODIFY);
39 } else if (threadStatus.equals(SessionKeys.THREAD_FAIL)) {
40 response.sendRedirect(RedirectPages.SNMP_MODIFY_NG);
43 MessageView error = new MessageView(41376, LogCategorySet.GUI_SNMP,
44 Message.UNEXPECTED_ERROR);
45 session.setAttribute(SessionKeys.RESULT_MESSAGE, error);
46 response.sendRedirect(RedirectPages.LOGIN);
52 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
55 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
56 <meta http-equiv="Pragma" content="no-cache">
57 <meta http-equiv="Cache-Control" content="no-cache">
58 <meta http-equiv="Expires" content="0">
59 <meta http-equiv="Content-Script-Type" content="text/javascript" />
60 <meta http-equiv="Content-Style-Type" content="text/css" />
61 <meta http-equiv="refresh" content="<%= RedirectPages.REFRESH_TIME %>" />
63 <meta http-equiv="refresh"
64 content="<%= RedirectPages.NOSCRIPT_TIME %>; url=<%= RedirectPages.LOGIN %>" />
66 <link rel="stylesheet" type="text/css" href="l7gui_basic_style.css" />
67 <link rel="shortcut icon" href="images/favicon.ico" />
68 <title>Modifying : SNMP Agent</title>
72 <h1 class="title">Modifying : SNMP Agent</h1>