<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/include/include.jsp"%> <% login_tag = 0; %> <%@include file="/include/head.jsp"%> <%@include file="/cms_for_bcb/show_top.jsp"%> <% String nowPage = r_call(request.getParameter("nowPage")); String c_no = r_call(request.getParameter("c_no")); if(c_no.equals("")){ }else{ String sql_ok = "update tbl_board set c_click = c_click + 1 where c_no = " + c_no; stmt2.execute(sql_ok); String sql1 = " select * from tbl_board where c_no = " + c_no; ResultSet rst = stmt.executeQuery(sql1); if (rst.next()) { %>
Title. <%=rst.getString("c_title")%>
Name. <%=rst.getString("c_name")%>
Clicks <%=rst.getString("c_click")%>
date <%=rst.getString("c_date").substring(0,10)%>
<%=rst.getString("c_content").replaceAll("\n\r","
")%>
List
<% } rst.close(); } %> <%@include file="/cms_for_bcb/show_bottom.jsp"%> <%@include file="/include/bottom.jsp"%> <%@include file="/include/include_b.jsp"%>