Non Blocking Server - High CPU Usage
Hello, I was trying out the source code from http://www.owlmountain.com/tutorials/NonBlockingIo.htm#_Toc524339534 It so happens that CPU Usage becomes 100% even if a single client is connected to the server. It stays at 100% until all clients disconnect. Is this normal? Server has been tested on Windows 20... 1 Feb 2006 12:59
javascript:false
I have a javascript embedded in my page. while opening the page it gives the message "Opening page Javascript:false" what does it mean? ... 31 Jan 2006 18:39
Binary Search Tree Dictionary ADT
I am having trouble implementing a BST Dictionary ADT, I know what I am supposed to do but not how to do it, could someone please point to a reference that shows me how to write the methods. ... 28 Jan 2006 17:42
Using multiple trust stores for https
Hi folks - long time no post. I'm back in Java-land at the moment, and trying to sort out an SSL problem. I need to open an https connection using a specific trust store, but I *don't* want to use the system property of javax.net.ssl.trustStore, as this shouldn't be an application-wide setting. I've been poring ... 26 Jan 2006 09:36
JOption Dialog and color...
Hi, In a part of my program I am openeing an error warnign as following: if (myVal != yourVal) { JOptionPane.showMessageDialog(null,"WARNING: \n MyVal does NOT yourVal.","Error Dialog",JOptionPane.ERROR_MESSAGE); } But I need that message "WARNING: \n MyVal does NOT yourVal" printed out in red col... 24 Jan 2006 16:23
Lost in loops
Hi, I am really stuck with my program that will compare two strings and assign scores between pairs of letters. my sequences are read in ok seq1 = ATCGTCGTA seq2 = TCGTACTAA a second file formatted as so... A A 1 T T 1 C C 1 G G 1 is now in a 2D char array I just cannot think how on earth to g... 27 Jan 2006 12:18
Invitacion a JavaSOS (lista Java/J2ee en español)
Amigos, para los que hablan español los queremos invitar a subscribirse a JavaSOS, la lista de colaboracion Java para desarrolladores de habla hispana en GoogleGroups. http://www.JavaSOS.com.ar Saludos ! Pablo. ... 24 Jan 2006 08:00
While statement
With the following piece of code, i would like to convert pounds to dollars and then print to the screen, and then the program will ask me if i want to convert more pounds to dollars, but what the program does is asks for the pounds and prints the conversion and then ask if i would like to convert more pounds, but ... 27 Jan 2006 16:40
struts and file download
I am getting an Outputstream already obtained when my Action passes the HttpServletResponse to another method, which then does: response.setContentType("text/csv"); response.setHeader("Content-disposition", attachment.toString()); response.setHeader("Pragma", null); response.setHeade... 19 Jan 2006 16:35
java/jsp String manipulation problem
Hi, i have large paragraphs in form of Strings. and i need to iterate through it and change all links into hyperlinks this is what i used to format the text into readable paragraphs. String data_body = data.getBody(); data_body = data_body.replaceAll("\n\n","<p>"); now iw ould like to know if an... 19 Jan 2006 10:17