Problem in executing multithreaded program Hi all, I have a java program with 3 thread, thread1 , thread2 , thread3. When I call thread1.run() , thread2.run() and thread3.run() .. the execution of thread1 and thread2 start but thread3 does not run. Thread1 contains linked list handling , Thread2 contains execution of "tcpdump" command and T... 13 Mar 2010 20:52
XPath question. I have a document which has two elements: ValueOverride and ValueDefault For example: <MyDoc> <ValueOverride>The override value</ValueOverride> <ValueDefault>The default value</ValueDefault> </MyDoc> I need a single XPath expression that will return ValueOverride if it is non-empty, and ValueDefault oth... 15 Mar 2010 15:48
Date comparisons Hi, I'm using Java 1.5. I have a java.util.Date object and I would like to determine if it's date (i.e. year, month, and day) are greater than (in the future) or equal to today's date (year, month, and day). However, I don't care about any time component (hour, minute, second ...) when the comparison is taking ... 16 Mar 2010 19:48
accessing java bean's property Hi, I have this bean: public class Item { private String type; private Boolean pub; public String getType() { return type;} public Boolean isPub() { return pub;} } I can use item.getType() to get the type value, but I'm looking for a generic way, say I have a string 'Type', then I'd like... 18 Mar 2010 17:45
Open popup from JSP - Servlet ?? Could some Java guru please help ?? I have a JSP, from inside which of which I do a POST to a Servlet, which then does some operations inside its 'doPost' method and at the end dynamically generates a Web page. Currently, this page is rendered inside a frame. How do I make the page be rendered inside a popup windo... 12 Mar 2010 20:39
trouble download drools example via cvs hi, I have attempted to do the first set of instructions mentioned in the link below to anonymously download drools via cvs...not sure is it is working...don't know if its an issue at my end of their end. Anyway I can trouble shoot this issue. Objective is to download the cvs repo. http://legacy.drools.codehau... 14 Mar 2010 16:31
solutions manual to A First Course In Probability 7th Edition by Sheldon M. Ross I have the comprehensive instructor's solutions manuals in an electronic format for the following textbooks. They include full solutions to all the problems in the text, but please DO NOT POST HERE, instead send me email including title and edition of the solutions manual u need. NOTE: This service is NOT free My... 12 Mar 2010 00:39
First class developer: who ? Someone says if one does not know the difference between "equality" and "equivalence", then one is an entry-level developer at best. What is your opnion ? (I think we should not talk about mathematical concepts, since it is the software developer in question.) Thanks. ... 21 Mar 2010 09:22
Speaking of thread safety? Does anybody know if the Observable/Observer calls to update() are on the EDT? Thanks, -- Knute Johnson email s/nospam/knute2010/ ... 14 Mar 2010 01:13
Exception Handling public class Qn24 { static class A { void process() throws Exception { throw new Exception(); } } static class B extends A { void process() { System.out.println("B "); } } public static void main(String[] args) ... 11 Mar 2010 22:26 |