JavaBean 中: private File[] pic; private String[] picContentType; private String [] picFileName; setter getter Action中: JavaBean javaBean setter getter ...
分类:
其他好文 时间:
2016-08-06 09:49:35
阅读次数:
112
背景 .9图来源于Android。为了设计出一套图,兼容Android和iOS,使用.9图的方式来对图片进行拉伸以适应不同的屏幕。在iOS中没有.9图的概念,只能先了解Android的.9图再进行模拟Android的方法。 什么是.9图片 即图片后缀名前有.9的图片,如pic.9.png、pic1. ...
分类:
移动开发 时间:
2016-07-28 14:12:15
阅读次数:
188
7.1需求 在修改商品页面,添加上传商品图片功能。 7.2 配置虚拟目录 在tomcat上配置图片虚拟目录,在tomcat下conf/server.xml中添加: <Context docBase="F:\develop\upload\temp" path="/pic" reloadable="fa ...
分类:
Web程序 时间:
2016-07-25 09:21:30
阅读次数:
234
Day02 Html、Css实战和WebView实现手机显示网页1.html与css实战1.1 程序猿小网页
先来看一下效果图 编程用图如下 实现代码如下
#pic{...
分类:
移动开发 时间:
2016-07-24 01:50:02
阅读次数:
305
'_" 参数 带空格"_'"_"" 参数 带空格""_"请把下划线去掉 传多张图片: ArrayList<String> lnn = new ArrayList<String>(); lnn = cel.file_pic("coat-1"); int i = 0; String str=""; fo ...
分类:
其他好文 时间:
2016-07-15 20:34:52
阅读次数:
918
myReApp.py(图片将存放于pic目录下)import re
#window下request的安装,cmd下输入pip install requests
import requests
#读取源代码文件
f = open("hello.txt","rb")
html = f.read()
#用utf-8解码,不然报错 TypeError: cannot use a string patt...
分类:
编程语言 时间:
2016-07-15 11:10:04
阅读次数:
445
<?php $filename="http://pic.nipic.com/2007-12-06/2007126102233577_2.jpg";//图片地址//获取图片信息$info=getimagesize($filename);//获取图片类型$type=image_type_to_exten ...
分类:
Web程序 时间:
2016-07-14 21:58:33
阅读次数:
228
图片要显示成设计稿的样式(图片名为:inset.png) 但实际上在psd裁剪出来后,图片的大小是773X305px 为了让图片显示出与设计稿一样的效果 即代码这样写: 1 <div class="pic"></div> 2 .pic{ 3 background: url(../i/inset.pn ...
分类:
移动开发 时间:
2016-07-13 21:17:21
阅读次数:
295
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <style type="text/css"> 7 .pic{ 8 float:left; 9 pos ...
分类:
其他好文 时间:
2016-07-11 13:51:19
阅读次数:
167