JAVA
Dom4J preserve whitespace when writing file
I\'m working on a program that is using Dom4J to write xml files. The database schema I am writing to has a handy xml validation and import schema. Dom4J is working great, but, I can\'t seem to figure[详细]
2023-04-13 08:49 分类:问答request.getUserPrincipal() got null
User successfully authenticated but after authentication when I go to next controller I got request.getUserPrincipal() null. I am using websphere 7 and my application is in spring mvc.[详细]
2023-04-13 08:49 分类:问答Collection of an own datatype or HashMap
I have to store information to objects of type \"Person\" in a data structure. The information could for example be a simple integer value. The integer values will change frequently, and also the pers[详细]
2023-04-13 08:47 分类:问答Android server data fetching
I would like to fetch data from a phpMyAdmin server. The only fun开发者_JAVA百科ction I know, is this :[详细]
2023-04-13 08:44 分类:问答How to connect to external MySQL server from Glassfish
I am trying to connect to a remote MySQL server. I have succesfully made a connection from Eclipse (DataSource view) and can now browse the content of the database.[详细]
2023-04-13 08:38 分类:问答Hitting stored proc - javax.ejb.EJBException
I\'m trying to hit a stored procedure but I\'m getting this error message: \'javax.ejb.EJBException\'... I\'ve never worked with stored procedures so the exception is a bit Greek to me.[详细]
2023-04-13 08:37 分类:问答Optimzing SSE-code
I\'m currently developing a C-module for a Java-application that needs some performance improvements (see Improving performance of network coding-encoding for a background). I\'ve tried to optimize th[详细]
2023-04-13 08:35 分类:问答Hiding instance variables of a class
I\'m wondering why Java has this strange behavior regarding a superclass and a subclass having instance variables with the same name.[详细]
2023-04-13 08:32 分类:问答Does Java have built-in "reversed" SwingWorker
SwingWorker lets you prepare some data in a background Thread and then use it in EDT. I am looking for a utility that does the opposite: Prepare data in EDT, and then pass it to a background Thread.[详细]
2023-04-13 08:31 分类:问答Changes to Log4j categories/loggers effect eachother
I have a logging problem with log4j. I am using the configureAndWatch to make log4j poll the following config occasionnaly and update what logging is done:[详细]
2023-04-13 08:31 分类:问答