码迷,mamicode.com
首页 >  
搜索关键字:convention    ( 223个结果
Struts2 Convention插件的使用(3)方法前的@Action注解
package com.hyy.action;import org.apache.struts2.convention.annotation.Action;import com.opensymphony.xwork2.ActionSupport;public class HelloWorldTest...
分类:其他好文   时间:2014-08-08 12:24:55    阅读次数:176
Struts2 Convention插件的使用(1)
刚刚查阅官方文档(convention-plugin.html)并学习了Struts2的Convention插件,文章这里只作为一个笔记,建议大家去看官方文档比较清晰和全面。需要在项目添加这些包convention先找package,其中如果package包含action这个单词,就会将这个包作为根...
分类:其他好文   时间:2014-08-08 12:07:05    阅读次数:170
Struts2 Convention插件的使用(2)return视图以及jsp的关系
1 package com.hyy.action; 2 3 import com.opensymphony.xwork2.ActionSupport; 4 5 public class HelloWorld extends ActionSupport{ 6 private String...
分类:Web程序   时间:2014-08-08 12:00:05    阅读次数:168
Grails 简要
一、什么是Grails? Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:其他好文   时间:2014-07-19 23:18:40    阅读次数:240
JavaScript Patterns 6.3 Klass
There’s a convention on how to name a method, which is to be considered the constructor of the class. Classes inherit from other classes. There’s acce...
分类:编程语言   时间:2014-07-17 12:54:15    阅读次数:255
java痛苦学习之路[四]---关于struts2-convention-plugin使用
struts2-convention-plugin 简化了Strut2配置过程,摸索中。。。。...
分类:编程语言   时间:2014-07-16 11:10:41    阅读次数:407
Struts2注解
需要包 struts2-convention-plugin.jar@Namespace("/xxxx/zzz")public class ConnectionAction { /** Action执行方法* */ @Action(value = "ConnectManage", resu...
分类:其他好文   时间:2014-07-09 23:47:34    阅读次数:241
Error解决:Property's synthesized getter follows Cocoa naming convention for returning 'owned'
在项目中定义了以new开头的textField,结果报错: 先看我的源码:#import @interface ResetPasswordViewController : UIViewController @property (weak, nonatomic) IBOutlet UITextField *phoneTextField; @property (weak, nonatomic) ...
分类:其他好文   时间:2014-07-09 12:09:41    阅读次数:208
error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
出现这种情况,主要是属性名中包含  关键字.  You can solve this by: Renaming that property: @property (strong, nonatomic) NSString *theNewTitle; Keeping the property name and specifying a getter name th...
分类:其他好文   时间:2014-07-09 10:30:12    阅读次数:218
Struts 2零配置
从struts2.1开始,struts2不再推荐使用Codebehind作为零配置插件,而是改为使用Convention插件来支持零配置,和Codebehind相比,Convention插件更彻底,该插件完全抛弃配置信息,不仅不需要是使用struts.xml文件进行配置,甚至不需要使用Annotat...
分类:其他好文   时间:2014-07-05 19:04:19    阅读次数:135
223条   上一页 1 ... 20 21 22 23 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!