| Thread | Last Post | Replies |
|
| Moving bytes in a Bytebuffer | 04 Aug 2005 02:03 GMT | 2 |
I am reading from a ByteBuffer (e.g. of size 10.000 bytes). When a part of the buffer is read (say 1.000 bytes) I would like to move the remaining part of the buffer (9.000 bytes), to the start of the buffer and then fill up the rest of the buffer (from position 9.001 to
|
| How to decide the technology stack in a new architecture. | 04 Aug 2005 00:34 GMT | 6 |
I need some advice in deciding the technology stack for my project. We have a new project to start with. We are planning to use a combination of struts+hibernate. Will this suffice all our needs. We are comfortable with JSP, and Servlets.
|
| How to check if byte array is compressed or not? | 04 Aug 2005 00:24 GMT | 6 |
I have some data stored in the database as blob. I can read this blob into byte array using jdbc. Now I need to read the byte array using InputStream. The problem is I want to know if the data in the database is stored in comprressed form. If the byte array is compressed I have
|
| Jetty: mapping URL to folder on disk | 04 Aug 2005 00:15 GMT | 4 |
I recently switched from Tomcat as a service to Jetty under Geronimo M3, and I need to know how to create a url "alias" for a folder on the disk. For example, say I want to access files in folder "C:\bar" at the url "http://localhost:8080/foo" so that the image
|
| java.jdk and java.jre system properties | 03 Aug 2005 23:22 GMT | 4 |
The lack of a java.jdk and java.jre system property is now officially considered a bug, with a number 6304516. you can even vote for it at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6304516.
|
| Java Programming Jobs | 03 Aug 2005 22:45 GMT | 2 |
This is a cool site that aggregates fresh job listings from multiple sites (such as hotjobs, monster, careerbuilder, dice, craigslist etc just to name a few) to find all jobs with a single search: http://www.jobrobots.com.
|
| extract text from screen or screenshots... | 03 Aug 2005 20:28 GMT | 6 |
Is there a way to extract or search for text on a computer screeen? I have a java program that caputures the screen shots of a constantly changing database log file and saves the screen shots as .png or .jpeg files. I need to search for a particular value, "timeelapsed" from the
|
| BufferedOutputStream being padded with spaces? | 03 Aug 2005 20:27 GMT | 4 |
Can anyone help me? I've got an EJB that has a BufferedOutputStream which writes a byte[] out to a socket. When this byte[] comes into the EJB, there are no spaces at the end. When the byte[] leaves the EJB, there are spaces added to the end of it. It seems like maybe the
|
| debug RMI NotSerializableException | 03 Aug 2005 19:29 GMT | 7 |
When you are doing RMI or other tasks involving Serialization of Java objects, I guess you can run into "NotSerializableException". However, this exception can happen while the serialization code is tranversing some complicated object graph, so my question is: is there a quick ...
|
| Java based HTML parser that outputs a formatted text string? | 03 Aug 2005 19:05 GMT | 1 |
Sorry about the subject, I couldn't think of a good one liner. Does anyone know of an java based html parser that can output its results to a formatted string (using spaces and such to handle the layout)?
|
| granting temporary private access | 03 Aug 2005 19:01 GMT | 1 |
So, here is the situation: Using reflection, I would like to take 2 objects and call the equals() method on their private members. Now, clearly if the code executes inside one of the objects in question, accessing private members is not
|
| ANN. SimpleTemplate - Template Engine for java | 03 Aug 2005 18:54 GMT | 6 |
SimpleTemplate is a simple, but powerful template engine for java. It is similar to PHP template engines. SimpleTemplate can be used to generate any text, eg. HTML, ASCII flat file or java source code. The engine can
|
| Printing Frames With Javascript | 03 Aug 2005 17:12 GMT | 3 |
I apologize if this is the wrong group for this but I have looked for an answer with no luck. I have the following frame setup on a site I am working on: http://img98.imageshack.us/img98/6238/frameprint1lr.jpg
|
| java regex equiv to perl !~ | 03 Aug 2005 17:04 GMT | 7 |
in perl I can say: $text = "abc def geh"; if ($text !~ m/def/) { ....
|
| JAWS and Netscape/Firefox | 03 Aug 2005 16:42 GMT | 18 |
Netscape is built on Firefox and they seem to have a common omission. There is no way to set up an association, e.g. for JAWS to send JNLP files to javaws.exe. They have plugins, which are more elaborate, but so simple
|