java-6
JSP compilation fails on Weblogic 10.3 but works on Weblogic 10
I have below piece of code in one my JSP <%@ page language=\"java\" import = \"import com.ecc.SiteAdmin.servlets.*\" %>[详细]
2022-12-19 09:19 分类:问答TimeZone.setDefault changes in JDK6
I just noticed that JDK 6 has a different approach to setting a default TimeZone than JDK5. Previously the new default would be stored in a thread-local variable. With JDK6 (I just reviewed 1.6.0.18[详细]
2022-12-19 06:35 分类:问答How to lock down (or sandbox) JDK's built-in Javascript interpreter to run untrusted scripts
we have a Java application and would like to run untrusted code using the built in Java开发者_运维知识库script interpreter (javax.script.*)[详细]
2022-12-18 03:06 分类:问答How to Debug while Porting from Java 1.5 to 1.6?
I h开发者_C百科ave a distributed JBoss-based application that shows a buggy behavior when compiled and run with Java 1.6. It shows an another bug when compiled with Java 1.5 and run with Java 1.6. But[详细]
2022-12-17 10:50 分类:问答tutorial about xml handling in java 6
i am getting little bit lost with all the XML handling methods in java, xpath, sax, DOM, DocumentBuilderFactory.开发者_如何学编程..different buzz words that i dont see how they relate...[详细]
2022-12-17 03:24 分类:问答how to remove the namespaces from the Element
I am working with org.w3c.xml java library and encountering a few difficulties performing a few tasks:[详细]
2022-12-17 01:26 分类:问答Specify Output Path for Dynamic Compilation
My dynamic compilation in Java 6 is working perfectly. However, I would like to change the output path. I have tried tons of things (I\'ll spare you) to no a开发者_如何转开发vail. Anyway, here\'s the[详细]
2022-12-16 00:11 分类:问答Deprecate in Java 1.6
In Java 1.5, to deprecate a method you would: @Deprecated int foo(int bar) { } Compiling this in Java 1.6 results in the following:[详细]
2022-12-12 15:10 分类:问答MySQL 5.1.32-community and JDK 1.6.0_16
I have this real weird exception when issuing a basic SELECT, using MySQL 5.1.32-community from JDK 1.6.0_16 code. The conditions to repeat : at any place in my app, if i change the date of my OS (Win[详细]
2022-12-11 15:11 分类:问答Is there a Java utility which will convert a String path to use the correct File separator char?
I have developed a number of classes which manipulate files in Java. I am working on a Linux box, and have been blissfully typing new File(\"path/to/some/file\");. When it came time to commit I realis[详细]
2022-12-10 16:29 分类:问答