jsp
文章平均质量分 71
ziying
这个作者很懒,什么都没留下…
展开
-
jdbc连接mssql
package wap;import java.io.*;import java.sql.*;public class jdbc { String strconn = "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=setop"; String strDriver = "com.microsoft.jdbc.sqlserv原创 2004-09-25 11:12:00 · 1317 阅读 · 0 评论 -
jsp生成html--replace
package ball.news;import java.io.*;import news.ReadTemplates;public class ReplaceAll{ private static Object a = new Object(); public ReplaceAll() { } public String replace(String content,String fl原创 2004-11-29 17:15:00 · 1302 阅读 · 0 评论 -
jsp生成html--readtemplates
ReadTemplates.javapackage ball.news;import java.io.*;import java.util.*;public class ReadTemplates{ private String temp = null; private Object a = new Object(); public ReadTemplates()原创 2004-11-29 17:12:00 · 1119 阅读 · 0 评论 -
jsp生成html---pnews_in.jsp
//request.setCharacterEncoding("gb2312"); try{ String dir=request.getRealPath("."); DiskFileUpload fu = new DiskFileUpload(); fu.setSizeMax(4194304);原创 2004-11-17 10:32:00 · 1527 阅读 · 1 评论 -
pnews.template模板
pnews.template模板td { font-size:12px}A:link { COLOR: 990000; TEXT-DECORATION: none}A:visited { COLOR: #666666; TEXT-DECORATION: none}A:hover { COLOR: #fd6827; TEXT-DECORATION: none}-->原创 2004-11-17 10:24:00 · 1213 阅读 · 0 评论 -
fileupload1
fileup.jsp showKid图片类别 DBconn连接数据库MMS图片上传function Check()//检查是否为空值{ var name=document.all.name.value; if(name==""||name.length { alert("图片说明不能为空"); document.all.name.focus(); retur原创 2004-11-02 10:06:00 · 1251 阅读 · 0 评论 -
more file upload
fileup2_in.jsp多文件同时上传Untitled Document try{ String dir=request.getRealPath("."); DiskFileUpload fu = new DiskFileUpload(); fu.setSizeMax(4194304);原创 2004-10-28 10:50:00 · 876 阅读 · 0 评论 -
simple file upload
fileup_in.jsp //单文件上传Untitled Document try{ String dir=request.getRealPath("."); DiskFileUpload fu = new DiskFileUpload(); fu.setSizeMax(4194304);原创 2004-10-28 10:49:00 · 1064 阅读 · 0 评论 -
commonfileupload
fileup.jsp showKid 图片类别bean DBconn 连接数据库MMS图片上传 MMS图片上传 图片路径: 图片类别: 图片说明: 下载次数: 图片排序:原创 2004-10-28 10:47:00 · 1069 阅读 · 0 评论 -
page
/** function page break* param str_table : page bread table * str_where : page where the condition* httpfile : the jsp file* pages : get the request page*/package wap;impo原创 2004-10-16 14:04:00 · 928 阅读 · 0 评论 -
dodate
DoDate.java/*format the date*/package wap;import java.util.*;import java.text.*;import java.lang.*;public class DoDate { public DoDate() { } public String formatDate1(Date myDate) {原创 2004-10-16 14:02:00 · 1266 阅读 · 0 评论 -
jsp生成html--writehtml
WriteHtml.javapackage ball.news;import java.io.*;public class WriteHtml{ public WriteHtml() { } public static void save(String s, String s1, String s2) { try原创 2004-11-29 17:14:00 · 2177 阅读 · 0 评论