自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

^_^-Beluga, ^_^-Stefli

Everyday is full of joy!

  • 博客(6)
  • 收藏
  • 关注

原创 How to format date/datetime in struts2

<br />1. Use param<br /><s:textfield name="order.entryDt"> <s:param name="value" ><s:date name="order.entryDt" format="MM/dd/yyyy" /></s:param> </s:textfield> <br /> <br />2. Use i18n, you should enable i18n and add i18n properties first.<br />i18n

2011-05-27 11:02:00 973

原创 org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityC

<br />Reference:<br />1.5. I get an exception with the message "An Authentication object was not found in the SecurityContext". What's wrong? This is a another debug level message which occurs the first time an anonymous user attempts to access a p

2011-05-24 12:50:00 7490 1

原创 Client can't access Jboss server, the port is not accessable.

<br />Run the JBoss server via:<br /> <br />run.bat -b 0.0.0.0<br /> <br />Then the server can be accessable via http://IP:PORT<br /> 

2011-05-20 10:07:00 813

原创 Jboss 4.2 & hibernate java.lang.NoSuchFieldError: INSTANCE

<br />Just remove the hibernate-annotation.jar from lib

2011-05-19 18:07:00 1618

原创 org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorre

<br />Exception:<br />org.hibernate.StaleObjectStateException:   Row   was   updated   or   deleted   by   another   transaction   (or   unsaved-value   mapping   was   incorrect)<br /> <br />Add a hidden field for hibernate version.<br /> 

2011-05-05 15:52:00 5289 1

原创 How to get bean from tag component

<br />Please refer to:<br />@SuppressWarnings("unchecked") @Override public Component getBean(ValueStack stack, HttpServletRequest request, HttpServletResponse response) { ServletContext servletContext = ServletActionContext .getServletCont

2011-05-04 10:09:00 822

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除