文件上传

ios android 后端 ,以及上传文件很大压缩自动(上传之前哟) 马赛克了路径

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include.jsp"%>
<%
String hxid=StringUtil.getString(request,"hxid");
String storeid=StringUtil.getString(request,"storeid");
Long.parseLong(storeid);
DBRow d=new DBRow();
String nickname="";
String title="新增产品";
DBRow detail=productMgr.detailSql("SELECT * from t_member_zhufu where openid in(select openid from t_mall_store where storeid ="+storeid+")");
if(detail!=null){
nickname=detail.getString("nickname");
}

if(!StringUtil.isBlank(hxid)){
Long.parseLong(hxid);title="修改产品";
d=productMgr.detailSql("select * from t_mall_zhufu where hxid="+hxid+" limit 1");

}
 %>




	
		
		











		<%=title %>
		

	
		
  
		
		
       
		
		
		

	
    
    
     
	 
	
	
	
	
	
		
    

新增产品

" class="mui-input-clear mui-input" placeholder="请输入名称" data-input-clear="1">
" type="text" class="capital mui-input-clear mui-input" placeholder="请输入价格 " data-input-clear="1">

商品售价15%作为分享佣金

<%String defaultimg="images/unupld11.png"; String tmp1=defaultimg;String tmp2=defaultimg;String tmp3=defaultimg; if((!d.getString("contentimg").equals(""))&&(!d.getString("contentimg").equals("undefined"))){ tmp1=d.getString("contentimg"); } if((!d.getString("icon_lun1").equals(""))&&(!d.getString("icon_lun1").equals("undefined"))){ tmp2=d.getString("icon_lun1"); } if((!d.getString("icon_detail").equals(""))&&(!d.getString("icon_detail").equals("@undefined"))){ tmp3=d.getString("icon_detail").replace("@",""); } %>

点击替换

你的浏览器不支持flash,Silverlight或者HTML5!

							
								


 

你可能感兴趣的:(文件上传)