Lost your password?

Blogs about: Java Appication

Featured Blog

Remote debug setting

longlog wrote 5 months ago: set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n … more →

Tags: Uncategorized

SEVERE: Error listenerStart

longlog wrote 1 year ago: When you start tomcat server and get the error “SEVER: Error listenerStart”… … more →

Tags: Tomcat

Page not found error in a jsp

longlog wrote 1 year ago: 1) Put the following code in web.xml: <error-page> <exception-type>java.lang.Exception … more →

Tags: Browser

JSTL loop Map

longlog wrote 1 year ago: MyObject{int id, String name} ——— MyObject obj1 {id1,name1} MyObject obj2 {id2,nam … more →

Why is IDEA so slow during debugging?1 comment

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 →

Convert from type X to type Y in Java

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 →

Get Photo/Image Infomation in JAVA

longlog wrote 2 years ago: In MyGrowUp.com project, we need to get photo’s original date when user uploads photos. I foun … more →

Tags: MyGrowUp

Very useful online dictionary

longlog wrote 2 years ago: I just released new version of online mini dictionary. The most convenient online reading tool. No d … more →

Spring + DBCP3 comments

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 →

Tags: Database, mysql, Tomcat

Chinese in JAVA/JSP on Tomcat server3 comments

longlog wrote 3 years ago: 这些天开发一个项目,服务器是tomcat,操作系统是xp,采用的是MVC架构,模式是采用Facade模式,总是出现乱码,自己也解决了好多天,同事 也帮忙解决,也参考了网上众多网友的文章和意见,总算是搞 … more →

Jsp to formatted Excel

longlog wrote 3 years ago: <% response.setContentType(“application/vnd.ms-excel”); response.addHeader(“Con … more →

Tags: HTML

Java - char to ascii integer and back1 comment

longlog wrote 3 years ago: System.out.println((int)’A'); System.out.println((char)65); … more →

Upgrade JSTL from 1.0 to 1.1

longlog wrote 3 years ago: Use Tomcat >5.0 Download jstl.jar and standard.jar to WEB-INF/lib Change include tag from <%@ … more →

Tags: Tomcat

Get URL Info in JSP8 comments

longlog wrote 3 years ago: url: http://localhost:8080/img/crew/cover.jsp?p=a request.getServerName() – localhost request. … more →

IntelliJ IDEA debug vs Ant Build2 comments

longlog wrote 3 years ago: When running code under the debugger, local variables were not available while stepping through a me … more →

Tags: IntelliJ IDEA

log4j in eatj.com1 comment

longlog wrote 3 years ago: The log file path in log4j for eatj.com should be: /usr/local/shared/tomcat/<username>/logs  R … more →


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS