CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - string类的方法
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
ASP
ASPX.NET
PHP
JSP/Java
FlashMX
Perl
Other Web Code
SilverLight
Search - string类的方法 - List
[
WEB Code
]
htmlSQL
DL : 0
htmlSQL是一个是你可以方便的对HTML和XML内容方便的使用类似SQL语句进行检索的PHP类.也就是说有了它,你不必再去写复杂的函数(正则表达式那类的)来获取特殊的值了. 用htmlSQL查询的方法的例子: SELECT href,title FROM a WHERE $class == "list" ^ ^ ^ 搜索查询 (可以为空) 待返回的属性 ^ ^ 需要搜索的HTML标签 允许使用"*"(= 所有标签) 这个查询返回一个包括所有带有有class="list"属性的超链接的数组. 在htmlSQL里的所有的网页转换用的都是这个卓越的类--Snoopy(版本号 1.2.3 - URL: http://snoopy.sourceforge.net/). Snoopy只用于文件或者字符串查询,其他时候都不适用. 你可以在文件夹snoopy_data/下找到所有Snoopy相关的文档 (版权声明, 说明文档等等).-htmlSQL is one that you can facilitate the right HTML and XML content to facilitate the use of similar S QL statement retrieval of PHP classes. In other words With it, You do not go to write complex function (regular expression of type) to obtain a special value. Inquiries with htmlSQL the examples : SELECT href. FROM WHERE title a $ class == "list" ^ ^ ^ search query (for Air) to be returned to the need to attribute ^ ^ search HTML "*"(= labels allow the use of all labels) back to this inquiry back with an all have class = "list" hyperlink attributes of the array. In htmlSQL Lane all the website is the conversion of the outstanding Class-- Snoopy (version 1.2.3- URL : http :// snoopy.sourceforge.net /). Snoopy used only for documents or String inquiries,
Date
: 2026-01-01
Size
: 27kb
User
:
ck
[
WEB Code
]
--ClassFunction
DL : 0
一些费用有用的js代码 1、对于文本框输入数据进行正则表达式匹配 2、javascript接收Get方法的参数 3\按比例控制图像大小 4\//Cookies类 5\//将Url字串转为Object -Some of the costs of useful js code 1, the input data for the text box regular expression matching 2, javascript Get method parameter received 3 \ by proportional control image size 4 \// Cookies Category 5 \// the Url string to Object ......
Date
: 2026-01-01
Size
: 3kb
User
:
alonglee
[
WEB Code
]
Liu_Yan_Ban
DL : 0
JSP写的简单留言板小系统 所用到的类主要方法作用及属性有: LoginAction.java: 属性: User user=new User() // 用户 方法: public String execute():判断用户是否存在 Page.java 属性: private int lastpage, nowpage, prepage, nextpage //main.jsp里实现显示留言的4个指标 方法: 对应的getXX(),setXX()方法 User.java 属性: private String username //用户名 private String password //密码 方法: 对应的getXX(),setXX()方法 DBConn.java 属性: Connection con=null //连接 PreparedStatement ps=null //命令对象 ResultSet rs=null //结果集 String sql //sql语句 方法: public DBConn():连接数据库 public User checkUser(String username,String password):检查用户是否存在 public boolean register(String username,String password1):将注册信息写入数据库 public void savemsg(String name,String note):将留言信息写入数据库-JSP message board
Date
: 2026-01-01
Size
: 3.64mb
User
:
陈年丰
[
WEB Code
]
DateUtil
DL : 0
日期处理工具类。里面有用javascript编写的关于日期处理的方法,例如将日期对象转换为毫秒数、将字符串转换为日期对象等。-Date handling tools. Useful inside javascript date written on the method of processing, such as the date object into a number of milliseconds to convert the string to a date objects.
Date
: 2026-01-01
Size
: 3kb
User
:
gaoyue
[
WEB Code
]
Struts03OGNL
DL : 0
OGNL表达式是(Object-Graph Navigation Language)是对象图形化导航语言。OGNL是一个开源的项目,struts2中默认使用OGNL表达式语言来显示数据。与serlvet中的el表达式的作用是一样的。OGNL表达式有下面以下特点: 支持对象方法调用,例如:objName.methodName(); 支持类静态的方法调用和值访问,表达式的格式为 @[类全名(包括包路经)] @[方法名 | 值名] 例如: @java.lang.String@format('foo%s','bar') @tutorial.MyConstant@APP_NAME; 支持赋值操作和表达式串联,例如: price=100, discount=0.8, calculatePrice(),这个表达式会返回80; 访问OGNL上下文(OGNL context)和ActionContext 操作集合对象(OGNL The expression is the object graphical navigation language. It's an open source project, and Struts2 uses default OGNL expression language to display data. The same function as the El expression in serlvet. The OGNL expression has the following features: Support object method invocation, for example: objName.methodName (); Supports static class method calls and value access. The format of the expression is @[class name (including the road)] @[method name | value name] For example: @java.lang.String@format ('foo%s','bar') @tutorial.MyConstant@APP_NAME; Support assignment operations and expressions in series, for example: Price=100, discount=0.8, calculatePrice (), and this expression returns 80; Access the OGNL context (OGNL context) and ActionContext Operation collection object)
Date
: 2026-01-01
Size
: 4.66mb
User
:
parksusu
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.