public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write(" \n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); request.setCharacterEncoding("euc-kr"); out.write('\n'); guestModel.GuestDto guest = null; guest = (guestModel.GuestDto) _jspx_page_context.getAttribute("guest", javax.servlet.jsp.PageContext.PAGE_SCOPE); if (guest == null) { guest = new guestModel.GuestDto(); _jspx_page_context.setAttribute("guest", guest, javax.servlet.jsp.PageContext.PAGE_SCOPE); } out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.introspect( _jspx_page_context.findAttribute("guest"), request); out.write('\n'); int num = Integer.parseInt(request.getParameter("num")); out.print("num" + num); int check = GuestDao.getInstance().delete(guest.getNum()); out.print("check:" + check); out.write("\n"); out.write("\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("<title>Insert title here</title>\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("\t"); if (check > 0) { out.write("\n"); out.write("\t\t<script type=\"text/javascript\">\n"); out.write("\t\t\talert(\"삭제되었습니다.\");\n"); out.write("\t\t\tlocation.href=\"write.jsp\";\n"); out.write("\t\t</script>\n"); out.write("\t\n"); out.write("\t"); } else { out.write("\n"); out.write("\t\t<script type=\"text/javascript\">\n"); out.write("\t\t\talert(\"삭제 실패.\");\n"); out.write("\t\t\tlocation.href=\"write.jsp\";\n"); out.write("\t\t</script>\n"); out.write("\t"); } out.write("\n"); out.write("\t\n"); out.write("\t\n"); out.write("</body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; // portlet:defineObjects org.gatein.pc.portlet.impl.jsr286.taglib.DefineObjects286Tag _jspx_th_portlet_005fdefineObjects_005f0 = (org.gatein.pc.portlet.impl.jsr286.taglib.DefineObjects286Tag) _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody.get( org.gatein.pc.portlet.impl.jsr286.taglib.DefineObjects286Tag.class); _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_portlet_005fdefineObjects_005f0.setParent(null); int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody.reuse( _jspx_th_portlet_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fportlet_005fdefineObjects_005fnobody.reuse( _jspx_th_portlet_005fdefineObjects_005f0); javax.portlet.PortletConfig portletConfig = null; javax.portlet.RenderRequest renderRequest = null; javax.portlet.RenderResponse renderResponse = null; javax.portlet.ActionRequest actionRequest = null; javax.portlet.ActionResponse actionResponse = null; javax.portlet.ResourceRequest resourceRequest = null; javax.portlet.ResourceResponse resourceResponse = null; javax.portlet.EventRequest eventRequest = null; javax.portlet.EventResponse eventResponse = null; javax.portlet.PortletSession portletSession = null; java.util.Map portletSessionScope = null; javax.portlet.PortletPreferences portletPreferences = null; java.util.Map portletPreferencesValues = null; portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig"); renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest"); renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse"); actionRequest = (javax.portlet.ActionRequest) _jspx_page_context.findAttribute("actionRequest"); actionResponse = (javax.portlet.ActionResponse) _jspx_page_context.findAttribute("actionResponse"); resourceRequest = (javax.portlet.ResourceRequest) _jspx_page_context.findAttribute("resourceRequest"); resourceResponse = (javax.portlet.ResourceResponse) _jspx_page_context.findAttribute("resourceResponse"); eventRequest = (javax.portlet.EventRequest) _jspx_page_context.findAttribute("eventRequest"); eventResponse = (javax.portlet.EventResponse) _jspx_page_context.findAttribute("eventResponse"); portletSession = (javax.portlet.PortletSession) _jspx_page_context.findAttribute("portletSession"); portletSessionScope = (java.util.Map) _jspx_page_context.findAttribute("portletSessionScope"); portletPreferences = (javax.portlet.PortletPreferences) _jspx_page_context.findAttribute("portletPreferences"); portletPreferencesValues = (java.util.Map) _jspx_page_context.findAttribute("portletPreferencesValues"); if (_jspx_meth_c_005fset_005f0(_jspx_page_context)) return; if (_jspx_meth_c_005fchoose_005f0(_jspx_page_context)) return; } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.get( com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse( _jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse( _jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context.findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context.findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context.findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); PortletRequest portletRequest = (PortletRequest) request.getAttribute(JavaConstants.JAVAX_PORTLET_REQUEST); PortletResponse portletResponse = (PortletResponse) request.getAttribute(JavaConstants.JAVAX_PORTLET_RESPONSE); String namespace = StringPool.BLANK; boolean auiFormUseNamespace = GetterUtil.getBoolean((String) request.getAttribute("aui:form:useNamespace"), true); if ((portletResponse != null) && auiFormUseNamespace) { namespace = GetterUtil.getString( request.getAttribute("aui:form:portletNamespace"), portletResponse.getNamespace()); } String currentURL = PortalUtil.getCurrentURL(request); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); Map<String, Object> dynamicAttributes = (Map<String, Object>) request.getAttribute("aui:option:dynamicAttributes"); Map<String, Object> scopedAttributes = (Map<String, Object>) request.getAttribute("aui:option:scopedAttributes"); Map<String, Object> _options = new HashMap<String, Object>(); if ((scopedAttributes != null) && !scopedAttributes.isEmpty()) { _options.putAll(scopedAttributes); } if ((dynamicAttributes != null) && !dynamicAttributes.isEmpty()) { _options.putAll(dynamicAttributes); } java.lang.String cssClass = GetterUtil.getString((java.lang.String) request.getAttribute("aui:option:cssClass")); java.util.Map<java.lang.String, java.lang.Object> data = (java.util.Map<java.lang.String, java.lang.Object>) request.getAttribute("aui:option:data"); boolean disabled = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:option:disabled"))); java.lang.Object label = (java.lang.Object) request.getAttribute("aui:option:label"); boolean selected = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:option:selected"))); java.lang.String style = GetterUtil.getString((java.lang.String) request.getAttribute("aui:option:style")); boolean useModelValue = GetterUtil.getBoolean( String.valueOf(request.getAttribute("aui:option:useModelValue")), true); java.lang.Object value = (java.lang.Object) request.getAttribute("aui:option:value"); _updateOptions(_options, "cssClass", cssClass); _updateOptions(_options, "data", data); _updateOptions(_options, "disabled", disabled); _updateOptions(_options, "label", label); _updateOptions(_options, "selected", selected); _updateOptions(_options, "style", style); _updateOptions(_options, "useModelValue", useModelValue); _updateOptions(_options, "value", value); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("<option class=\""); out.print(cssClass); out.write('"'); out.write(' '); out.print(disabled ? "disabled" : StringPool.BLANK); out.write(' '); out.print(selected ? "selected" : StringPool.BLANK); out.write(' '); out.print(Validator.isNotNull(style) ? "style=\"" + style + "\"" : StringPool.BLANK); out.write(" value=\""); out.print((value != null) ? String.valueOf(value) : StringPool.BLANK); out.write('"'); out.write(' '); out.print(AUIUtil.buildData(data)); out.write(' '); out.print(InlineUtil.buildDynamicAttributes(dynamicAttributes)); out.write('>'); out.write('\n'); out.write('\n'); // c:if com.liferay.taglib.core.IfTag _jspx_th_c_005fif_005f0 = (com.liferay.taglib.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get( com.liferay.taglib.core.IfTag.class); _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fif_005f0.setParent(null); // /html/taglib/aui/option/start.jsp(21,0) name = test type = boolean reqTime = true required // = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = // false methodSignature = null _jspx_th_c_005fif_005f0.setTest(Validator.isNotNull(label)); int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag(); if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { out.write('\n'); out.write(' '); // liferay-ui:message com.liferay.taglib.ui.MessageTag _jspx_th_liferay_002dui_005fmessage_005f0 = (com.liferay.taglib.ui.MessageTag) _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.get( com.liferay.taglib.ui.MessageTag.class); _jspx_th_liferay_002dui_005fmessage_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dui_005fmessage_005f0.setParent( (javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0); // /html/taglib/aui/option/start.jsp(22,1) name = key type = null reqTime = true required = // true fragment = false deferredValue = false expectedTypeName = null deferredMethod = // false methodSignature = null _jspx_th_liferay_002dui_005fmessage_005f0.setKey(String.valueOf(label)); int _jspx_eval_liferay_002dui_005fmessage_005f0 = _jspx_th_liferay_002dui_005fmessage_005f0.doStartTag(); if (_jspx_th_liferay_002dui_005fmessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.reuse( _jspx_th_liferay_002dui_005fmessage_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dui_005fmessage_0026_005fkey_005fnobody.reuse( _jspx_th_liferay_002dui_005fmessage_005f0); out.write('\n'); } if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); return; } _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); // liferay-theme:defineObjects com.liferay.taglib.theme.DefineObjectsTag _jspx_th_liferay_002dtheme_005fdefineObjects_005f0 = (com.liferay.taglib.theme.DefineObjectsTag) _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.get( com.liferay.taglib.theme.DefineObjectsTag.class); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setPageContext(_jspx_page_context); _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.setParent(null); int _jspx_eval_liferay_002dtheme_005fdefineObjects_005f0 = _jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doStartTag(); if (_jspx_th_liferay_002dtheme_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse( _jspx_th_liferay_002dtheme_005fdefineObjects_005f0); return; } _005fjspx_005ftagPool_005fliferay_002dtheme_005fdefineObjects_005fnobody.reuse( _jspx_th_liferay_002dtheme_005fdefineObjects_005f0); com.liferay.portal.theme.ThemeDisplay themeDisplay = null; com.liferay.portal.model.Company company = null; com.liferay.portal.model.Account account = null; com.liferay.portal.model.User user = null; com.liferay.portal.model.User realUser = null; com.liferay.portal.model.Contact contact = null; com.liferay.portal.model.Layout layout = null; java.util.List layouts = null; java.lang.Long plid = null; com.liferay.portal.model.LayoutTypePortlet layoutTypePortlet = null; java.lang.Long scopeGroupId = null; com.liferay.portal.security.permission.PermissionChecker permissionChecker = null; java.util.Locale locale = null; java.util.TimeZone timeZone = null; com.liferay.portal.model.Theme theme = null; com.liferay.portal.model.ColorScheme colorScheme = null; com.liferay.portal.theme.PortletDisplay portletDisplay = null; java.lang.Long portletGroupId = null; themeDisplay = (com.liferay.portal.theme.ThemeDisplay) _jspx_page_context.findAttribute("themeDisplay"); company = (com.liferay.portal.model.Company) _jspx_page_context.findAttribute("company"); account = (com.liferay.portal.model.Account) _jspx_page_context.findAttribute("account"); user = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("user"); realUser = (com.liferay.portal.model.User) _jspx_page_context.findAttribute("realUser"); contact = (com.liferay.portal.model.Contact) _jspx_page_context.findAttribute("contact"); layout = (com.liferay.portal.model.Layout) _jspx_page_context.findAttribute("layout"); layouts = (java.util.List) _jspx_page_context.findAttribute("layouts"); plid = (java.lang.Long) _jspx_page_context.findAttribute("plid"); layoutTypePortlet = (com.liferay.portal.model.LayoutTypePortlet) _jspx_page_context.findAttribute("layoutTypePortlet"); scopeGroupId = (java.lang.Long) _jspx_page_context.findAttribute("scopeGroupId"); permissionChecker = (com.liferay.portal.security.permission.PermissionChecker) _jspx_page_context.findAttribute("permissionChecker"); locale = (java.util.Locale) _jspx_page_context.findAttribute("locale"); timeZone = (java.util.TimeZone) _jspx_page_context.findAttribute("timeZone"); theme = (com.liferay.portal.model.Theme) _jspx_page_context.findAttribute("theme"); colorScheme = (com.liferay.portal.model.ColorScheme) _jspx_page_context.findAttribute("colorScheme"); portletDisplay = (com.liferay.portal.theme.PortletDisplay) _jspx_page_context.findAttribute("portletDisplay"); portletGroupId = (java.lang.Long) _jspx_page_context.findAttribute("portletGroupId"); out.write('\n'); out.write('\n'); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); Layout selLayout = (Layout) request.getAttribute(WebKeys.SEL_LAYOUT); out.write('\n'); out.write('\n'); String url = StringPool.BLANK; String description = StringPool.BLANK; if (selLayout != null) { UnicodeProperties typeSettingsProperties = selLayout.getTypeSettingsProperties(); url = typeSettingsProperties.getProperty("url", StringPool.BLANK); description = typeSettingsProperties.getProperty("description", StringPool.BLANK); } out.write('\n'); out.write('\n'); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f0 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f0.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f0.setParent(null); // /html/portal/layout/edit/embedded.jsp(31,0) name = cssClass type = java.lang.String reqTime // = true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setCssClass("lfr-input-text-container"); // /html/portal/layout/edit/embedded.jsp(31,0) name = id type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setId("urlEmbedded"); // /html/portal/layout/edit/embedded.jsp(31,0) name = label type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setLabel("url"); // /html/portal/layout/edit/embedded.jsp(31,0) name = name type = java.lang.String reqTime = // true required = true fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setName("TypeSettingsProperties--url--"); // /html/portal/layout/edit/embedded.jsp(31,0) name = type type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setType("text"); // /html/portal/layout/edit/embedded.jsp(31,0) name = value type = java.lang.Object reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f0.setValue(url); int _jspx_eval_aui_005finput_005f0 = _jspx_th_aui_005finput_005f0.doStartTag(); if (_jspx_th_aui_005finput_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .reuse(_jspx_th_aui_005finput_005f0); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .reuse(_jspx_th_aui_005finput_005f0); out.write('\n'); out.write('\n'); // aui:input com.liferay.taglib.aui.InputTag _jspx_th_aui_005finput_005f1 = (com.liferay.taglib.aui.InputTag) _005fjspx_005ftagPool_005faui_005finput_0026_005fwrap_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .get(com.liferay.taglib.aui.InputTag.class); _jspx_th_aui_005finput_005f1.setPageContext(_jspx_page_context); _jspx_th_aui_005finput_005f1.setParent(null); // /html/portal/layout/edit/embedded.jsp(33,0) name = cssClass type = java.lang.String reqTime // = true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setCssClass("layout-description"); // /html/portal/layout/edit/embedded.jsp(33,0) name = id type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setId("descriptionEmbedded"); // /html/portal/layout/edit/embedded.jsp(33,0) name = label type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setLabel("description"); // /html/portal/layout/edit/embedded.jsp(33,0) name = name type = java.lang.String reqTime = // true required = true fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setName("TypeSettingsProperties--description--"); // /html/portal/layout/edit/embedded.jsp(33,0) name = type type = java.lang.String reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setType("textarea"); // /html/portal/layout/edit/embedded.jsp(33,0) name = value type = java.lang.Object reqTime = // true required = false fragment = false deferredValue = false expectedTypeName = null // deferredMethod = false methodSignature = null _jspx_th_aui_005finput_005f1.setValue(description); // /html/portal/layout/edit/embedded.jsp(33,0) null _jspx_th_aui_005finput_005f1.setDynamicAttribute(null, "wrap", "soft"); int _jspx_eval_aui_005finput_005f1 = _jspx_th_aui_005finput_005f1.doStartTag(); if (_jspx_th_aui_005finput_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005faui_005finput_0026_005fwrap_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .reuse(_jspx_th_aui_005finput_005f1); return; } _005fjspx_005ftagPool_005faui_005finput_0026_005fwrap_005fvalue_005ftype_005fname_005flabel_005fid_005fcssClass_005fnobody .reuse(_jspx_th_aui_005finput_005f1); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final java.lang.String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError( HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD"); return; } final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write(" \n"); out.write(" "); request.setCharacterEncoding("utf-8"); out.write('\n'); out.write(' '); movie.admin.filmBean gb = null; gb = (movie.admin.filmBean) _jspx_page_context.getAttribute("gb", javax.servlet.jsp.PageContext.PAGE_SCOPE); if (gb == null) { gb = new movie.admin.filmBean(); _jspx_page_context.setAttribute("gb", gb, javax.servlet.jsp.PageContext.PAGE_SCOPE); } out.write('\n'); out.write(' '); movie.admin.film _film = null; _film = (movie.admin.film) _jspx_page_context.getAttribute("_film", javax.servlet.jsp.PageContext.PAGE_SCOPE); if (_film == null) { _film = new movie.admin.film(); _jspx_page_context.setAttribute("_film", _film, javax.servlet.jsp.PageContext.PAGE_SCOPE); } out.write('\n'); out.write(' '); org.apache.jasper.runtime.JspRuntimeLibrary.introspect( _jspx_page_context.findAttribute("_film"), request); out.write("\n"); out.write(" \n"); out.write("\n"); out.write(" "); String action = request.getParameter("action"); if (action.equals("list")) { ArrayList<film> films = gb.getDBlist(); request.setAttribute("datas", films); pageContext.forward("admin_mode.jsp"); } if (action.equals("back")) { ArrayList<film> films = gb.getDBlist(); request.setAttribute("datas", films); pageContext.forward("admin_mode.jsp"); } else if (action.equals("insert")) { if (gb.insertDB(_film)) { response.sendRedirect("film_control.jsp?action=list"); } else throw new Exception("DB 입력 오류"); } else if (action.equals("delete")) { if (gb.deleteDB(_film.getId_film())) { response.sendRedirect("film_control.jsp?action=list"); } else throw new Exception("DB 삭제 오류"); } // else if(action.equals("update")){ // } else { } out.write("\n"); out.write(" \n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("<title>Insert title here</title>\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("\n"); out.write("</body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }