First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
Way to sort / enforce order for Map.entrySet?
On Fri, 23 Apr 2010, Lew wrote: laredotornado wrote: Omg, Tom, can I buy you a beer or something? ???That solution is exactly what I was looking for. Lew wrote: Do I get a beer, too, then? Tom Anderson wrote: U did not post teh codez!!! Oh, so it's not enough to post the an... 23 Apr 2010 17:27
NPE in Servlet
Please advise reasons for NullPointerException in a servlet dealing with request.getParameter in Tomcat 6.0.20. The below does work where the city value does forward and show in my JSP (pageOne.jsp or pageTwo.jsp). But it also outputs the printStackTrace() NullPointerException on this one line everytime: if(city.e... 20 Apr 2010 15:45
NPE in Servlet
teser3 wrote:     request.setAttribute("city", city);     try {         if(city.equals("Boston")) Lew wrote: Why not add a guard against 'null' here? Jukka Lahtinen wrote: And the most compact way to do it would be just to turn the condition around to      if ("Boston".equals(cit... 20 Apr 2010 15:45
add jar to classpath at runtime but not able to access resource in jar
mike wrote: �String resource = ClassLoader.getSystemClassLoader().getResource("test.xml").toExternalForm(); Why are you using the system classloader and not the one you wrote? In other words, that should be cl.getResource... This line is used in code to access system resources. I cannot c... 20 Apr 2010 18:27
get file version
Is there the way to get the File Version of Product Version of the file using java.(for all operation systems)? ... 20 Apr 2010 15:45
add jar to classpath at runtime but not able to access resource in jar
Hi, I have exteneded URLClassLoader to: import java.net.URL; import java.net.URLClassLoader; /** * The ExtenedClassLoader class. */ public class ExtendedClassLoader extends URLClassLoader { /** * @param urls, to carryforward the existing classpath. */ public ExtendedClassLoader(URL[... 20 Apr 2010 18:27
Runtime.getRuntime().exec
I try to execute the command: Runtime.getRuntime().exec("%ComSpec% /c start calc") and java gives me the error: java.io.IOException: Cannot run program "%ComSpec%": CreateProcess error=2, The system can not find the file specified. But if I execute in such way Runtime.getRuntime().exec("cmd /c start calc"), all ... 20 Apr 2010 15:45
Java socket....
Hi all, I'm writing an application to interface a device ( industrial balance ) to a PC via TCP/IP... well the device acts as Server and my application is a listening client. Th client receive a single string <stx>dd/mm/yyyy;hh:mm;0000000000;A;0000000000<etx> that I read with... a method like this: .... ... 19 May 2010 08:13
How to set version to jar?
Hi i am creating jar file using export menu of eclipse.Could any one tell me how to set the version to jar? Nasir ... 23 Apr 2010 20:43
Java socket....
In article <8336rcF703U1(a)mid.individual.net>, Mike Amling <mamling(a)rmcis.com> wrote: Felce e Mirtillo wrote: Hi all, I'm writing an application to interface a device ( industrial balance ) to a PC via TCP/IP... well the device acts as Server and my application is a listening client. ... 20 Apr 2010 15:45
First  |  Prev |  Next  |  Last
Pages: 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54