<%@page contentType="text/html; charset=UTF-8"%> <%@page import="com.csc.library.entry.*,com.csc.library.utilities.*"%> <jsp:useBean id="task" class="com.csc.library.system.Task" scope="session" /> <% task.setChannel(request, response); UIManager screen = (UIManager) task.process("SingleEntry", "WB_COMPANY"); ThaiUtilities th= new ThaiUtilities(); String msg=th.ASCII2Unicode(request.getParameter("msg")); screen.getRecord().set("company_id",request.getParameter("company_id")); if("delete".equals(request.getParameter("acc"))){ screen.getRecord().delete(); } %> <script> alert("<%=msg%> ข้อมูลเรียบร้อย"); location="company_view.jsp"; </script>