`
zylucky
  • 浏览: 77467 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
select * from T_PD_MACHINE_TYPE where regexp_like(t1.machine_type_name,'(摩托罗拉ME525|IPhone5|TCLS188|德赛M66|海信T39|华为560)') 参考文件:http://wenku.baidu.com/view/e36b271ffc4ffe473368ab04.html
select * from table(cast(strtab('111,22,333')   as   mytabletype))
程序执行需要读取到安全敏感项必需在androidmanifest.xml中声明相关权限请求, 完整列表如下:android.permission.ACCESS_CHECKIN_PROPERTIES允许读写访问"properties"表在checkin数据库中,改值可以修改上传( Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)android.permission.ACCESS_COAR ...
  ERROR:emulator-5554 disconnected,the user data image is used by another emulator 使用Android模拟器经常遇到连不上、连一次掉一次等诸多问题 在此种情形下,重启ADB即可: 在eclipse下: window -> Show Views -> device -> view menu -> Reset adb 或者在命令行状态下: adb kill-server---再adb start-server; ------------------------------ ...
  查询时添加过滤   @Entity @Table(name="T_OD_ORDERS")  @FilterDef(name="totalFilter", parameters={@ParamDef(name="total", type="string")})  @Filters({        @Filter(name="totalFilter", condition="total=:total") }) public class OdOrders { ...
使用的JS文件:     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>     <!-- Required for jQuery dialog demo-->    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js&q ...

上传文件

需要的JAR包:commons-io-1.4.jar 上传一个文件: 1      <input name="annex"  id="annex" type="file" /> 2. 在表单中加入enctype="multipart/form-data" 3.action 中:   private File annex; private String annexFileName; private String annexContentType; se ...
1.需要引入的tld文件<%@ taglib uri="/tlds/FCKeditor.tld" prefix="FCK" %> 2. <tr> <td>正文:</td> <td align="left"> <FCK:editor id="strContent" width="100%" height="320" enableSourceXHTML="true" edit ...

获取昨天日期

    博客分类:
  • JAVA
/** * 获得昨天日期 * * @return */ public static String getYesterday() { Date date = new Date(); date = new Date(date.getTime() - 1000 * 60 * 60 * 24); SimpleDateFormat dateFm = new SimpleDateFormat("yyyy-MM-dd"); return dateFm.format(date); }  
Map<String,List<Object>> map = new HashMap<String,List<Object>>(); .ftl页面循环 //此处如何获取map 就不说了。以下是循环map <#list map?keys as mykey> key 值 为: ${mykey} value 值获取: <#assign mapUser=map[mykey] > //些入没有引号 ...
一、开发环境安装 开发环境是:Eclipse Java EE + JDK1.5 + Tomcat5.5 + Axis2 1.4。 1、JDK1.5安装和环境变量配置:     JAVA_HOME: C:\Program Files\Java\jdk1.5.0_04,其中C:\Program Files\Java\jdk1.5.0_04是我的JDK安装目录。     Path变量增加 ;%JAVA_HOME%\bin     Classpath: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar 2、tomcat ...
根据天气预报的WSDL文件生成 客户端 第一步:需要安装axis2插件。 第二步: File-->New--->Other--->Axis2 Wizards-->Axis2 Code Generator ,然后默认,在WSDL file location 中输入 天气预服的WSDL文件的http地址。然后next  , 在Codegen option 选项中选择custom ,然后next --->在output path 中选择生成的文件存放的地址,然后finish .   第三步: 生成的文件中可能会有很多错误,需要自行更改.(不知是生成的问题,还是插件 ...

java copy file

    博客分类:
  • JAVA
try { // 旧地址 FileChannel srcChannel = new FileInputStream("srcFilename").getChannel(); // 新地址 FileChannel dstChannel = new FileOutputStream("dstFilename").getChannel(); // Copy file contents from source to destination dstChannel.transferFrom(srcCh ...
整个Html页面代码如下,自己看吧: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <title>易宝搜索</title ...
  jsp页面 <form action="<c:url value='/uploadFile.do'/>" name="form1" method="post" enctype="multipart/form-data" > <input name="doc" id= "doc" type="file" /> </form> 其中: enctype=" ...
Global site tag (gtag.js) - Google Analytics