| Thread | Last Post | Replies |
|
| Generics and Map? | 10 May 2006 11:50 GMT | 4 |
There's something i've been wondering and i'm hoping someone has an explanation for it that goes beyond "Sun screwed up" : The interface Map<K,V> (with generics) has these methods defined : public V get(Object key)
|
| Regular expression problem | 10 May 2006 11:30 GMT | 5 |
I'm trying to count how many entries in a piece of text conform to the pattern $(Some text)$ or $(Something else)$. Essentially how many peices of text are preceded by $( and followed by )$ .I'm using a scanner and the regex found below, but I find nothing:
|
| how to ignore separator?? | 10 May 2006 10:33 GMT | 8 |
Hi plz if i have a text file file1.txt contains for example: Hi Bob ? How are You? I need to meet u.
|
| Exception Superclasses | 10 May 2006 10:30 GMT | 5 |
I have a method that does some HTTP posting. Inside that method are calls that can generate MalformedURLException, ProtocolException, UnsupportedEncodingException, as well as the more general IOException in it's own right. The three former exceptions are subclasses of ...
|
| Frameworks | 10 May 2006 10:14 GMT | 7 |
I am about to develop a J2EE application and having some trouble choosing the frameworks, some of which I have in mind are - Spring - Struts
|
| a quizz question about java bit operation??? | 10 May 2006 10:10 GMT | 1 |
what is the value of -8>>-1 -8<<-1 it will be like
|
| Catching Throwable | 10 May 2006 09:57 GMT | 6 |
I got bit by the NoClassDefFoundError. Lo and behold, I figured out what the problem was, so thankfully that's not the question here... :-) This occurs in a servlet. In my doPost method, as a last resort, I was catching (Exception e) just to make sure anything unexpected ...
|
| StringBuilder#insertCodePoint | 10 May 2006 09:27 GMT | 3 |
I have a code point »cp«, which I would like to insert into a StringBuilder-object »sb« at position 0. So: sb.insertCodePoint( 0, cp ); The problem is that there is no such method, and I
|
| Can you get the amount of UDP buffer space used? | 10 May 2006 07:55 GMT | 1 |
Is there any way to get the amount of buffer space used on a datagram socket? I have an application that handles incoming UDP packets and it slows down when the incoming traffic gets pretty busy. I would like to figure out how many UDP packets are queued or at least how much of ...
|
| NIO - Selector.select() doesn't block | 10 May 2006 07:36 GMT | 7 |
Anyone worked with NIO (Java 1.5)? I cannot seem to figure this one - the example from the web works as expected, but my code doesn't, and I can't find the part which makes the difference.
|
| Character encoding problem using java and MySql 5.0 | 10 May 2006 07:03 GMT | 8 |
I am facing a problem for Character encoding that just made me crazy. Our user's copies text from different sites and pasting it . I m using jboss 3.2.3 and embedded tomcat 4.1.29 and MySql 5.0 as backend.
|
| How to best use Hibernate | 10 May 2006 05:43 GMT | 2 |
Ok I have a business application which has persists its data to a database using hibernate. What I want to know is what is the best practice for persistence? - Load it all into memory and then synchronize to the database.
|
| Error when reading emails on a public folder on Exchange | 10 May 2006 05:11 GMT | 2 |
I use javamail to read message in a public folder on a MS Exchange server. (It's simple: instead of "Inbox" you give it "Public Folders/My Folder".) However, accessing some messages fails. Trying to get the subject or
|
| a quizz question about java bit operation??? | 10 May 2006 05:03 GMT | 2 |
what is the value of -8>>-1 -8<<-1 it will be like
|
| Code from Core Java2 fails | 10 May 2006 05:03 GMT | 2 |
I'm running Java 5.0 using Eclipse. This piece of code is failing within the IDE. import java.util.*; /**
|