首先我们需要在WEB-INF/tld/目录下创建page.tld文件
	1.0
	1.2
	page
	http://www.kevin.com/taglibs/page
	
		htmlPage
		com.lss.common.tag.PageTag
		JSP
		htmlPage Tag
		
			pageNo
			false
			true
		
		
			pageSiz...
                            
                            
                                分类:
Web程序   时间:
2014-07-27 23:47:09   
                                阅读次数:
393
                             
                    
                        
                            
                            
                                1.如图所示我们需要在前台的页面通过radio和select将对应的数据库中的数据显示到选项当中,这也是我们做项目中经常需要做的,动态的显示,而不是静态的显示。
首先我们需要在页面中导入struts2的标签库,一般的我们不用struts2写一个radio代码如下:
男
女
这样写因为在表单里面,我们都需要改成struts2的标签形式,用标签写更加简单方便,在struts2标签中凡是...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 15:20:30   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                Not Fibonacci
My Tags
  (Edit)
 
Source : 计算机学院第二届“光熙杯”程序设计大赛
 
Time limit : 3 sec
 
Memory limit : 32 M
Submitted : 452, Accepted : 121...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 02:18:16   
                                阅读次数:
223
                             
                    
                        
                            
                            
                                在以前使用HtmlParser时,并未考虑过遇到org.htmlparser.tags之外的Tag怎么处理。直到碰到这样的一个标签,如果不加处理,HtmlParser无法对其进行处理。查阅自定义标签之后才明白,控制HtmlParser解析网页结构的是,PrototypicalNodeFactory ...
                            
                            
                                分类:
Web程序   时间:
2014-07-26 01:36:16   
                                阅读次数:
205
                             
                    
                        
                            
                            
                                Webx框架:http://openwebx.org/petstore:webx3/webx-sample/petstore/tags/3.0/petstore编译之后:mvn jetty:run即可, 访问:http://localhost:8081/ Webx MVC(以webx3为基础)1、w...
                            
                            
                                分类:
Web程序   时间:
2014-07-26 00:30:16   
                                阅读次数:
521
                             
                    
                        
                            
                            
                                wap手机页面自动适应手机屏幕宽度大|中|小2012/08/25 17:51 ,mdyCss 重构,评论(0),阅读(5969), Via 本站原创Tags:wap页面自适应宽度,手机页面宽度,wapview plainprint?view plainprint?在网页的中增加以上这句话,可以让网....
                            
                            
                                分类:
移动开发   时间:
2014-07-24 22:46:33   
                                阅读次数:
306
                             
                    
                        
                            
                            
                                【Pass】 The Pass block causes the geometry of an object to be rendered once.[Syntax] Pass{[Name and Tags] [RenderSetup] [TextureSetup]} The basic pa...
                            
                            
                                分类:
其他好文   时间:
2014-07-23 20:39:35   
                                阅读次数:
224
                             
                    
                        
                            
                            
                                比如如下相对比较复杂的XML yourID_1 your name your description, can be with html tags]]> ...
                            
                            
                                分类:
Web程序   时间:
2014-07-23 16:47:21   
                                阅读次数:
256
                             
                    
                        
                            
                            
                                You may have noticed brown-red stains forming around your sinks and bathroom fixtures and the water tha . Tags: canadian water warehouse, water treatm...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 00:19:36   
                                阅读次数:
279
                             
                    
                        
                            
                            
                                一、源码编译
1.1 so预编译LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libAppArea
LOCAL_SRC_FILES :=libAppArea.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL...
                            
                            
                                分类:
移动开发   时间:
2014-07-18 11:21:37   
                                阅读次数:
319