| Thread | Last Post | Replies |
|
| Parsing XML with Dom | 30 Sep 2007 22:37 GMT | 4 |
I can't believe I'm stuck on this, but DocumentBuilderFactory.setIgnoringElementContentWhitespace doesn't seem to work at all, I still get the new lines as text elements :S Any idea?
|
| How to read and parse a remote XML file with Java | 30 Sep 2007 21:49 GMT | 7 |
Using J2SE v1.4.2, I'd like to read and parse a remote file: http://foo.com/file.xml Is it possible with Java? I'd be extremely grateful if someone could provide me any webpage showing a very simple code.
|
| do I need "volatile" for HashMap? when I apply ReentrantReadWriteLock on it. | 30 Sep 2007 21:41 GMT | 2 |
fomr javaoc of ReentrantReadWriteLock an example: class CachedData { Object data;
|
| Serving files belonging to the web application directory | 30 Sep 2007 18:28 GMT | 2 |
Hello to all Java programmers out there. The task I am trying to do here is to serve or access files which belong to my web application (i.e. present in the WEB-INF/xml directory) in a servlet. I could have hardcoded the path but what I am
|
| Chained call pattern with inheritance, polymorphism and generics... | 30 Sep 2007 18:24 GMT | 19 |
I'm trying to create a chainable call. so that I can do something like myBuilder.something(createSomething()).something(createAnotherSomething()).other(createAnOther()); This isn't so hard if myBuilder is a concrete type with something() and other() implemented in that concrete type ...
|
| java tips | 30 Sep 2007 05:06 GMT | 2 |
http://computer-programmings.blogspot.com
|
| the inefficiency of noncontiguous data - why? | 29 Sep 2007 23:17 GMT | 7 |
I noticed that breaking up a large array into 2 pieces results in a much higher memory usage for my program. Example: A program with: float[] a = new float[32000000];
|
| tomcat :: Listener for my own class (global access to class) | 29 Sep 2007 21:37 GMT | 1 |
I have one servlet with init() method which initialize object of my own class. that's ok if I use this object from only one servlet. but how change it - add Listener and have access to object from all
|
| Configuring jetty: restricting service from certain IP addresses | 29 Sep 2007 21:12 GMT | 9 |
How can I restrict access to Jetty from certain IP addresses (or allow only from specific subnet)? Anoter issue I have is how to enable Jetty to work as http server? Thanks,
|
| ReadWriteLock rather on map's each field than whole map? | 29 Sep 2007 20:45 GMT | 8 |
I would like to apply java.util.concurrent.locks.ReentrantReadWriteLock on a HashMap(or ConcurrentHashMap) Most examples on internet applies ReadWriteLock on whole map.
|
| Method.invoke() with one arg compiles despite method signature | 29 Sep 2007 20:33 GMT | 6 |
This has got me stumped jdk1.5.0_10 I can compile and run the code for RunTests and associated classes at http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
|
| Good & Free UML modeling tool for Java/Eclipse? | 29 Sep 2007 18:00 GMT | 1 |
Currently my company use Rational Software Modeler (Eclipse). But it is pricey, so not every developer own a copy, so we want to try out some opensource solutions. any recommendation?
|
| How to read data from web.xml (JSP)? | 29 Sep 2007 17:30 GMT | 4 |
I am using Tomcat 6.0 on Windows XP SP2. What to do if i dont want to hard-code the database driver and server address etc. into code. I put it into web.xml as follows:
|
| Runtime process | 29 Sep 2007 15:08 GMT | 2 |
I am trying to send a command to windows from my java program, and I get an error. The pertinent (?) part of my code follows: public boolean action(Event evt, Object arg)
|
| WHAT IS SCJP IS ALL ABOUT ? | 29 Sep 2007 13:12 GMT | 3 |
HI im ajay singh rajput,pursuing B TECH in INFORMATION technology..can any body help me to know something abt scjp(SUN CERTIFIED JAVA PROGRAMMER)..
|