- 博客(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关注的人