<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/include/db/db_connect.jsp"%> <%@include file="/include/function/function.jsp"%> <%request.setCharacterEncoding("utf-8");%> <% String c_comment_no = r_call(request.getParameter("c_comment_no")); String c_point = r_call(request.getParameter("c_point")); String c_content = r_call(request.getParameter("c_content")); if(c_comment_no.equals("")){ %> <% }else{ String sql_ok = "update tbl_comment set c_point="+ c_point +", c_content ='"+ c_content +"' "; sql_ok = sql_ok + " where c_no = " + c_comment_no ; stmt2.execute(sql_ok); %> <% } %> <%@include file="/include/db/db_close.jsp"%>