set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n in IntelliJ IDEA: add new Configurations – Remote change the port to 8001 … more →
My Loglonglog wrote 5 months ago: set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n … more →
longlog wrote 1 year ago: When you start tomcat server and get the error “SEVER: Error listenerStart”… … more →
longlog wrote 1 year ago: 1) Put the following code in web.xml: <error-page> <exception-type>java.lang.Exception … more →
longlog wrote 1 year ago: MyObject{int id, String name} ——— MyObject obj1 {id1,name1} MyObject obj2 {id2,nam … more →
longlog wrote 1 year ago: I had two breakpoints on the method name instead of the first line of the method. It was taking a ha … more →
longlog wrote 2 years ago: String[] s to List: List l = Arrays.asList(s); Long to long: Long l; l.longValue(); integer to Strin … more →
longlog wrote 2 years ago: In MyGrowUp.com project, we need to get photo’s original date when user uploads photos. I foun … more →
longlog wrote 2 years ago: I just released new version of online mini dictionary. The most convenient online reading tool. No d … more →
longlog wrote 2 years ago: Adding a connection pool to a Spring app is simply a matter of specifying the relevant entries in th … more →
longlog wrote 3 years ago: 这些天开发一个项目,服务器是tomcat,操作系统是xp,采用的是MVC架构,模式是采用Facade模式,总是出现乱码,自己也解决了好多天,同事 也帮忙解决,也参考了网上众多网友的文章和意见,总算是搞 … more →
longlog wrote 3 years ago: <% response.setContentType(“application/vnd.ms-excel”); response.addHeader(“Con … more →
longlog wrote 3 years ago: System.out.println((int)’A'); System.out.println((char)65); … more →
longlog wrote 3 years ago: Use Tomcat >5.0 Download jstl.jar and standard.jar to WEB-INF/lib Change include tag from <%@ … more →
longlog wrote 3 years ago: url: http://localhost:8080/img/crew/cover.jsp?p=a request.getServerName() – localhost request. … more →
longlog wrote 3 years ago: When running code under the debugger, local variables were not available while stepping through a me … more →
longlog wrote 3 years ago: The log file path in log4j for eatj.com should be: /usr/local/shared/tomcat/<username>/logs R … more →