A new programming idea (below): attached to nTGBDP2002.JSP

zhaozj2021-02-16  49

NTGBDP2002.JSP

-------------------------------------------------- -------------------

<% @ Page ContentType = "Text / HTML; Charset = GBK"%> <% @ page import = "java.lang. *, java.net. *, java.sql. *"%> <% @ Page Import = "java.text. *, java.util. *"%> <% @ page import = "cint.ntdb"%> <% @ page import = "com.jspsmart.upload. *"%> <% @ Page session = "True"%> <% @ Page ErrorPage = "Error.jsp"%>

<% file: // Upload file IF (iSupload && ispost &&! uploaded) {mydir = new java.io.file (UPLOADDIR); file: // uploaddir is globalvar if (! mydir.exists ()) ing (! mydir .mkdir ()) throw new exception ("Create upload folder failed! [" UPLOADDIR "]"); files files = mysmartupload.getfiles (); string sfilename = ""; try {for (INT i = 0; I <% file: // Global data -> RequestHt Requestht.Put (" GlobalTableName ", GlobalTableName); RequestHt.Put (" DBNAME ", dbname); Requestht.Put (" ParentKey ", Requestht.Put (" ParentValue ", ParentValue; Requestht.Put (" SQL_TRANS ", SQL_TRANS);%>

<% If (! TableCreated) {nt.createtable (dbname, globaltablename); TableCreated = true;}%>

转载请注明原文地址:https://www.9cbs.com/read-25577.html

New Post(0)