%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" %>
<%@ include file = "../inc/header.jsp" %>
<%@ page import="java.util.*"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.io.*"%>
<%
String wzid=request.getParameter("wzid");
String content = "";
String sql="update jap_wzb2 set djrs=djrs+1 where wzid='"+wzid+"'";
stmt.executeQuery(sql);
sql="select wzbt,wznr,fbsj,fbbm,djrs from jap_wzb2 where wzid='"+wzid+"'";
ResultSet rs=stmt.executeQuery(sql);
if(rs.next())
{
int y;
oracle.sql.CLOB clob1;
char ac[] = new char[299];
clob1 = (oracle.sql.CLOB)rs.getObject(2);
if(!rs.wasNull())
{
Reader reader = clob1.getCharacterStream();
while((y = reader.read(ac, 0, 299)) != -1)
content += new String(ac, 0, y);
char a='\"';
char b='\'';
content=content.replace(a,b);
}
else
{
content="update.....";
}
}
%>
Welcome to NETDA
Policy Briefing System
Nantong development area informs investors and enterprises, in various forms and timely, of important policies promulgated by the State, Province, City or this development area, and provides the clients of investment with consultation service on policies.
Contact us | Sitemap | Hot Links
Copyright(c) NETDA Administrative Commission. All Reserved
<%@ include file = "../inc/bottom.jsp" %>
<%
if(content.substring(0,4).equals("file")) response.sendRedirect("data/"+content);
%>