`
yangxiutian
  • 浏览: 59803 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
<html>   <head>   </head>   <body>     <!--onkeydown contenteditable属性指定一个即可 前者对文本框亦有用 且有光标       后者无光标-->     <input type="file" onkeydown="return false" contenteditable="false"/>   </body> </html>
<html>   <head>     <script>       function f(obj){         //字符替换         obj.value=obj.value.replace("'","");         //...可复制,实现禁止输入各种字符       }     </script>   </head>   <body>     <input type="text" id="txt" onkeyu ...

md5加密

package test; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class TestMd5 {     public static void main(String[] args)     {         System.out.println(md5("tttt"));         //     }         public static String md5(String a)     {         Stri ...
package axis2; import javax.xml.namespace.QName; import org.apache.axis2.addressing.EndpointReference; import org.apache.axis2.client.Options; import org.apache.axis2.rpc.client.RPCServiceClient; public class Client { public static void main(String[] args) throws Exception { // ObjectFactory f ...
类配置@RemoteProxy(name = "check")  (方法所在的类) 对象配置@DataTransferObject         (返回值类型所在的类) 方法配置@RemoteMethod               (所要调用的方法) 要引入的js <script type='text/javascript' src='/项目名/dwr/interface/check.js'/> <script type='text/javascript' src='/项目名/dwr/engine.js'/> web.xml配置 <ser ...
//代码源自:五月天 发表时间: 2010-04-10 浏览 (662) 回复 (0) 相关度: 100.00 % //喜欢于是收藏了,请作者见谅 import java.io.FileInputStream;   import java.io.FileOutputStream;   import java.io.IOException;   import java.io.InputStream;   import java.io.OutputStream;   import sun.misc.BASE64Decoder;   import sun.misc.BASE64Encode ...
Global site tag (gtag.js) - Google Analytics