- 浏览: 86434 次
- 性别:
- 来自: 北京
最新评论
-
jjruanlili:
好用!顶顶顶
java上传文件到微信服务器 -
henji409:
好,可用
java上传文件到微信服务器 -
u012453813:
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
java上传文件到微信服务器 -
_miniter:
144、145行有bug。这个程序还需要加载额外的处理JSON ...
java上传文件到微信服务器 -
王龙旻:
这么优秀的开源精神,居然没有人顶
java上传文件到微信服务器
文章列表
<%@ page contentType="text/html; charset=UTF-8"%>
<%@include file="/WEB-INF/jsp/include/includes.jsp"%>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jq ...
1:引入js库<script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>2:现在jsp中设置地图div<div style="width:793px;height:407px;border:#ccc solid 1px;" id="dituContent"></div> ...
package com.sz.kcygl.web.controller.front;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import junit.framework.TestCase;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;
pub ...
try {//从数据库中取出List数据
List<CarouselImage> carouselImageList = (List<CarouselImage>) this.carouselImageService.carouselImageList();
List<CarouselImageInfo> list = new ArrayList<CarouselImageInfo>(); //
for (int i = 0; i < carouselImageList.size(); i++) {
CarouselImag ...
1:前台<tr> <th> 上传图片: </th> <td> <input type="file" name="myFile" id="myFile" class="textinput" /><span class="validate_required">*</span><span id="span_myFile"></span> </td> </tr ...
直接调用这个方法,返回的就是非中文字符串
private String subStrForMath(String str){
String string="";
for (int i = 0; i < str.length(); i++){
String str0="";
if (str.substring(i, i + 1).matches("[\u4e00-\u9fa5]+")){
System.out.println();
}else{
str0 = str.substrin ...
1:前台<li class="yanzm"><div class="yzm"> <input name="authCode" id="authCode" style="color:black;width:30px;" type="text"/> <img src="${ctx }/front/authimg.do" id="authimg" width=" ...
1:html文件
<li><a class="add" href="javascript:void(0);" id="deleteAll" name="deleteAll">批量删除</a></li>
表头:<th width="5%"> <input type="checkbox" name="allass" value="0" id="se ...
Function创建调用示例
CREATE OR REPLACE FUNCTION FN_CHECKNUMBER(PHONENUMBER IN VARCHAR2)
RETURN VARCHAR2 IS
VALIDFLAG VARCHAR2(1);
LEN INT := 0;
STR VARCHAR2(2);
BEGIN
LEN := LENGTH(PHONENUMBER);
STR := SUBSTR(PHONENUMBER, 0, 2);
IF PHONENUMBER IS NULL OR LEN > 11 OR LEN < 11 OR STR ...
response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition","attachment; filename=" + java.net.URLEncoder.encode("业绩目标列表.xls","UTF-8"));
WritableWorkbook book = Workbook.createWorkbook(response.getOutputStrea ...
做下载xls模板操作
- 博客分类:
- 笔记
protected ModelAndView handleRequestInternal(HttpServletRequest request,
HttpServletResponse response) throws Exception {
response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition","attachment; filename=" + java.net.URLEnc ...
$("input[name='groupId']").each(function(){
if(this.checked == true){
$(this).parent().next().next().next().find("input").removeAttr("disabled");
$(this).parent().next().next().next().find("input").removeAttr("style");
$(this ...
1:<select name="rollGroup" class="selectCtrl">
<option value="" <c:if test="${result.getRollGroup eq ''}">selected</c:if>>
请选择
</option>
<option value="1" <c:if test= ...
js里加window.onload=function(){
var pointTsrNew = document.getElementById("pointTsrNew");
var rollGroupTd = document.getElementById("rollGroupTd");
var rollGroup = document.getElementById("rollGroup");
var tsrPoint = document.getElementById("tsrPoint" ...
CREATE OR REPLACE PROCEDURE PRO_RIDDING_CUSTOMER IS
CURSOR CUR_AUDIT_CUSTOMER_INFO IS --通过审核的任务列表
SELECT PLANID,
AREACODE,
CREATEDBY,
CSMONTH,
CREATEDDATE,
NAMESIGN,
STATE,
FLAG,
CREATED_DATE
FROM (SELECT DISTINCT TRF.PLAN_ID PLANID,
...