当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: //edit.jsp,通过manage.js
 

 

    摘要: 格式化输入日期时间控件可以用jieformatteddatebox box = new jieformatteddatebox("yyyy年mm月dd日hh点mm分ss秒");输入也可以用jieformatteddatebox box = new jieformatteddatebox("hh:mm:ss");来输入时间还可以这样用jsp......
    摘要: //index.jsp 改进了的实现分类查询的默认页面<%@ page contenttype="text/html;charset=big5"%> <%@ include file="articleconn1.jsp"%><%string types=request.getparameter("t......


Oracle&amp;JSP开发的小型信息管理系统(五)源代码4

<%@ include file="articleconn.jsp"%><%string id1=request.getparameter("id").trim(); 【程序编程相关:高级c#概念(程序集)

//edit.jsp,通过manage.jsp链接过来的修改信息页面 【推荐阅读:使用C#与NNTP服务器交互!

%> 【扩展信息:贴一个无负担延时类模块

session.setattribute("id", id1);int id=integer.parseint(id1);string queryinfo=" select * from learning where article_id="+id+" ";string updatehits=" update learning set hits=hits+1 where article_id="+id+" ";boolean autocommit=conn.getautocommit();

<html><head><meta http-equiv="content-type" content="text/html; charset=big5"><title>修改信息</title><!--meta name="generator" content="microsoft frontpage 4.0"--><link rel="stylesheet" href="css/style.css"/>

</head><style type="text/css"><!--.style2 { color: #ffffff; font-weight: bold;}.style3 {color: #ff0000}.style5 {color: #0080c0}--></style><form  method="post" action="saveedit.jsp" ><%

try{conn.setautocommit(false);preparedstatement ps=conn.preparestatement(updatehits);int results=ps.executeupdate();if(results>0){out.println();}conn.commit();ps=conn.preparestatement(queryinfo);resultset rs=ps.executequery();while(rs.next()){

%>  <table width="100%"  border="1" cellspacing="1" cellpadding="1">    <tr bordercolor="#ffffff" bgcolor="#b5d85e">      <td height="24" colspan="2"><div align="center"><span class="style2">修 改 信 息</span></div></td>    </tr>    <tr borderco
...   下一页
    摘要: transorder: <set name="orderitems" table="orderitem" lazy="false" inverse="true" cascade="all"> <key column="order_id"/&g......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE