`
AlexanderMahone
  • 浏览: 8292 次
社区版块
存档分类
最新评论
文章列表
1.将字体拷贝到windows的字体目录下,(win7: c:\windows\fonts\) 2.将fontconfig.properties文件拷贝到${INTELLIJ_HOME}/jre/jre/lib目录下 3.重启IntelliJ ide 4.File->settings->editor-color&font->font 选择monospaced 配置的参考文章见:http://willerce.com/post/intellij-ide-fontconfighttp://docs.oracle.com/javase/6/docs/te ...
  linkin:  jetty: http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin jetty 调试:http://tangjj.blog.51cto.com/1848040/346823 cargo(服务器部署):http://cargo.codehaus.org/ maven commands 描述jetty插件 :mvn help:describe -Dplugin=org.mortbay.jetty:jetty-maven-plugin -Ddetail 描述jetty:stop go ...
  Link in : http://www.springwebdevelopment.com/using-hql-editor-in-hibernate-tools Using HQL Editor in Hibernate Tools BY ADMIN, APRIL 28TH, 2009 For anyone who uses Eclipse and is also writing HQL, the Hibernate Tools

Java lang Notes

父类的一个方法g调用了父类另一个的protected/public 方法f,当子类继承父类并且重写了父类被调用的protected/public 方法f后, 子类调用g方法,g方法块中将调用子类重写的方法f。 public class Test { public static void main(String[] args) { new Child().g(); } } class Parent{ protected String f(){ return "I'm f() function that age 48"; } publi ...
当两个线程可能会访问一个对象的某个属性值(field)(包括读写),就要同步所有的读写该属性值(field)的所有方法。( 当然通过反射直接修改该属性值,或者通过未同步的方法仍旧可以使该对象的值处于不稳定(unstable)的状态 假如没有同步被多个线程访问对象属性的方法,有可能其中的一个方法正处于执行当中,并修改了该对象的一些属性值,但是还没有完全执行完,并返回,此时的中属性值并不稳定,完整。如果此时另一个线程访问到了这个处于不稳定的属性值,将得到bug。 ) 现代的处理器当中都有多个内核,每个内核中可能会缓存每个线程中的值,如果多个线程需要访问同一个值,而这个值的修改由于缓存到cpu的寄 ...

struts2国际化

struts2 会根据浏览器的request header中的信息来选择相应的resource bundle。 com.opensymphony.xwork2.TextProvider 接口中的getText方法负责查找相应的resource bundle资源, ActionSupport中提供了此接口的默认实现 Struts2 搜索resource bundle的顺序: 1.ActionClass:查找和ActionClass类名相同的文件。 2.MyInterface: 会查找与你的action类实现的接口名相同的Properites文件,比如你的action类实现了MyInterface ...
Global site tag (gtag.js) - Google Analytics