- 浏览: 284139 次
- 性别:
- 来自: 长春
最新评论
-
378433707:
解决了我的问题!
struts2.3中StrutsPrepareAndExecuteFilter影响文件上传 -
woadaia:
jar 要哪些子啊,能不能直接发我一份,qq 39430532 ...
java调用打印机 -
ray198471:
...
jusb.jar -
liuhonggang123:
比较好
java 二维码 -
814687491:
这个JAR包分享得不得!加油!
java 二维码
文章列表
转:http://blog.csdn.net/jwdstef/article/details/17380471ActiveMQ
http方式访问wsdl
- 博客分类:
- java
先将wsdl用SOAPUI取出xml,后拼装xml串,向wsurl发送即可。
String wsUrl = "asdfasd";
//服务的地址 URL url = new URL(wsUrl); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setDoInput(true); conn.setDoOutput(true); conn.setRequestMethod(& ...
需要将 -Dcom.ibm.crypto.provider.DoRSATypeChecking=false
false改为true
详见:http://www-01.ibm.com/support/docview.wss?uid=swg1IV18625
APAR status
Closed as program error.
Error description
We have agreed to provide a flag for use at runtime to allow for
the RSA encryption of ...
页面禁止 iframe嵌套
- 博客分类:
- java
jsp:
<meta http-equiv="X-Frame-Options" content="DENY" />
X-Frame-Options:DENY 禁止,SAMEORIGIN:相同域名页面的 frame 中展示,ALLOW-FROM uri:指定来源的 frame 中展示
后台:
response.addHeader("X-Frame-Options", "DENY");
自用
<div style="border: 1px solid red; background: black; "><img src="resources/images/0.jpg" alt="" onmousedown="aaaaaa(this,event);" /><script type="text/javascript">function aaaaaa(ele, ev){ var pos1 = getObjPos(ele); ...
MySQL 其他机器连接不上
- 博客分类:
- mysql
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mysql' WITH GRANT OPTION;
2.进入mysql的BIN目录
mysql -u root -p
mysql>use mysql;
mysql>update user set host ='%' where user ='root';
mysql>flush privileges;
点击myeclipse6.5图标,属性---兼容性---以兼容模式运行这个程序,选择window xp(Server Pack 3)
1.js
$.ajax({ type:'get', url:'http://172.16.15.98:8080/demo/sys/login.do?username=sa&password=1', dataType:'jsonp', jsonpCallback: "success_jsonpCallback", success:function(json){alert(json.success); }});
2.demo系统Action处理:
返回格式为:callback({"success":true,&qu ...
1.页面
<form id="form1" method="post" enctype="multipart/form-data">
<input id="files" name="files" type="file" class="textfield" />
</form>
2.js
$.messager.progress(); $('#form1').form('submit', { ...
$('#win').window({ width:500,height:300 }); var scrollTopH = $(document).scrollTop() + 100; $("#win").panel("move",{top:scrollTopH });
webservice获取客户端ip
- 博客分类:
- java
自用:
import javax.xml.ws.WebServiceContext;import javax.xml.ws.handler.MessageContext;import com.sun.net.httpserver.HttpExchange;import com.sun.xml.internal.ws.developer.JAXWSProperties;
@Resource private WebServiceContext wsContext; private void getClientInfo() { try { MessageCont ...
oracle 获取汉字首字母 函数
- 博客分类:
- oracle
为了自己使用方便,转其他网友写法
create or replace function func_get_pinyin_capital(p_name in varchar2) return varchar2 as v_compare varchar2(100); v_return varchar2(4000);
function f_nlssort(p_word in varchar2) return varchar2 as begin return nlssort(p_word, 'nls_sort=schinese_pinyin_m'); end;
beginfor i in ...