易截截图软件、单文件、免安装、纯绿色、仅160KB

java调用Oracle用户登录存储过程

PROCEDURE user_Login (
      i_AuthID         IN       user_UserPass.UserID%TYPE,        --用户代码
      i_FunctionCode   IN       user_Function.FunctionCode%TYPE,      --功能代码
      i_Password       IN       user_UserPass.PASSWORD%TYPE,          --密码
      o_RetCode        OUT      INT,
      o_RetMsg         OUT      VARCHAR2
   )
/* 授权验证 */
   IS
      l_location             VARCHAR2 (128);
      l_Exist                INTEGER;
      l_Count                INTEGER;
      l_Counter              INTEGER;
      l_FunctionCode         user_Function.FunctionCode%TYPE;
      l_ParentFunctionCode   user_Function.FunctionCode%TYPE;//父根限功能代码
      l_Passed               BOOLEAN;
      l_Length               INTEGER;
   BEGIN
  &nbs


相关文档:

最重要的 Java EE 最佳实践


原文请看
http://www.ibm.com/developerworks/cn/websphere/techjournal/0701_botzum/0701_botzum.html
后续我会对下面提到的19点进行一些适当的批注,算是自己的读书笔记
引言
在过去的几乎整整十年中,人们编写了很多有关 Java™ Platform, Enterprise Edition (Java EE) 最佳实践的内容。现在有十多本书籍和数 ......

java过滤关键字

KeywordFilter.java:
import java.io.InputStream;
import java.util.Enumeration;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class KeywordFilter
{
private static Pattern pattern = null;
private static KeywordFilter filter = new KeywordF ......

Java时区bug,TimeZone.setDefault()只在当前线程有效

   项目是基于GMT时间的,在系统启动的时候,我们就会调用TimeZone.setDefault(timeZone)将默认时区设为GMT。
   后来突然发现,有时用户选择的时间经过后台一圈后回产生8个小时误差。又是间歇性的,要他重现的时候又偏不来。苦心debug,终于发现在部分线程中,时区还是GMT+8,后台某个调用可能把时区 ......

在Java web服务器内使用url rewrite

每个网页或请求都是一个url地址,一般,这个地址可能是.do,.page,.action之类的并加上'?'号、'&'号查询串等构成的一个长长的的url。很urgly。
一般的url----------------------------------------------------------较好的url
http://www.xxx.net/user/profile.do?id=20001   ====> http://www.xxx.ne ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号