| Thread | Last Post | Replies |
|
| measure bandwidth in / out of socket | 30 Sep 2005 23:20 GMT | 2 |
I'm currently developping a client / server application, with client & server running on the same PC for the moment. the goal is to ultimately run them over a WAN, and in order to improve performances & bandwidth usage, I'd like to develop a tool that
|
| File.setLastModified() question | 30 Sep 2005 23:07 GMT | 6 |
Does a file have to be closed to use setLastModified() to change its modification date? I have a RandomAccessFile that I am writing to, but the modified time doesn't change when it is written to. I would like use
|
| [XML] XSD Schema Validation | 30 Sep 2005 23:04 GMT | 23 |
Is there a way to validate a XSD schema? I perform a validation of a XML file according to this schema with <code> SchemaFactory schemaFactory =
|
| Interruptible I/O for ObjectInputStream | 30 Sep 2005 22:59 GMT | 4 |
Folks, Can anyone tell me how to set matters up so that an ObjectInputStream (connected to a socket) can be made to time out if nothing is available to be read within a specified timeout period?
|
| screen scrape | 30 Sep 2005 22:57 GMT | 7 |
can anyone give me an example of screen scraping a website and return the result e.g. html as a string or lead me to some tutorials / examples many thanks
|
| Saving images | 30 Sep 2005 22:54 GMT | 7 |
How can I use the StreamInput and the StreamOutput classes in order to save images from an URL to the user directory? suppose I have: URL imageURL = getURL(image);
|
| Struts Validator floatRange has roundoff error | 30 Sep 2005 22:25 GMT | 2 |
The Struts Validator floatRange seems to have roundoff error. For the validation.xml configuration snippet below, user input of 90.00001 fails validation, as expected, but 90.000001 does not. <field property="baseLocalities.latitude" depends="float,floatRange">
|
| current directory of the class | 30 Sep 2005 21:32 GMT | 4 |
I would like to know what is the current directory of my class, I have tried System.getProperty("user.dir"); but it just gives me the current directory of the application, and I want to know the current location of a class inside a package:
|
| a swing component on top of another | 30 Sep 2005 21:30 GMT | 3 |
Is it possible to put a swing component on top of another and make at least the one on the top transparent so that the contents of both are visible? My specific problem is that I am using a package (JUNG) that
|
| JLayeredPane possible in BorderLayout.CENTER ? | 30 Sep 2005 21:16 GMT | 3 |
I tried to use JLayeredPane as follows and nothing in it shows up. What is the problem? thanks, alex
|
| Retrieve Widnow Handle with Java | 30 Sep 2005 20:43 GMT | 4 |
I want to retrieve the browser's window handle using a java application running on W2k. I've read that i might have to use JNI but I'm not sure where to start. Any Advice would be appreciated.
|
| Jet Version 4.0 is out | 30 Sep 2005 20:30 GMT | 4 |
JET is an AOT (Ahead Of Time) optimising compiler. I use it for nearly everything I run on my own machines. Excelsior came out with Jet Version 4 today. This marks some big changes precipitated with a new legal agreement
|
| Is there a way to use String[] as a Set?? | 30 Sep 2005 16:47 GMT | 12 |
I basically have a set of strings : String[] strs = {"First", "Next", "Third", "Fourth", "Fifth"}; as an array. I would like to see if an element is contained in this set of strings.
|
| Name that anti-pattern | 30 Sep 2005 16:33 GMT | 15 |
I noticed recently something that could qualify as an anti pattern (it's an instance of "designing for the future"). Please comment. I have a class which is not constrained by any interface. It has
|
| servletContext inputstream problem | 30 Sep 2005 11:45 GMT | 6 |
I was trying out variants on the property file reading inside a servlet. I m facing a problem. The code given below in which InputStream is a private memeber variable shows the value of key only once, later invocation of the same servlet
|