| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> Rek|em: Looks right offhand, but I would suggest you -test- <1> Ok, here is where I am lost. <1> I dont know how to use the XPath, honestly I dont understand to much about Xpath things. <1> Can you help me out to evaluate one tag on that xml text? <0> I'm also not a fan of calling returned objects that way. harder tu debug, both stepping through it in the debugger, and if it blows when deployed with a nullpointerexception at line 213, and that is said line, it becomes harder to know which of your three method calls generated it <0> Rek|em: If you don't know xpath, you should learn xpath. <1> Well I came here for help :) <1> Do you have a reference where I can help myself to learn XPath? <2> google <1> I had been there
<1> But, thanks anyway... <1> Ciao <3> Rek|em: the dom4j site has a little XPath tutorial thing <1> Thank you so much! <1> :_D <4> i'm having such trouble with java.net and java.io .... it's so wierd <2> its pretty straight forward <2> so what ales you? <4> do u know a website where i can copy paste source.. the one in topic doesn't let me post more than 4k <4> but the source code isn't 4k... it just has a very long string in it <2> if you need to paste more the n4k <2> then no one will bother to look at your code <2> create a small test case to present your problem <4> the code isn't long, it's really really short actually <2> then its smaller then 4k <4> its so hard to omit... i got it to about 4k... <4> http://javafaq.mine.nu/lookup?1&wb=true <5> Hey guys...this is probally a simple question but I'm having trouble figuring it out...I have a cl*** called TraceThread which extends Thread...in the constructor I initialize some important instance variables which I use in the run() method...they are of protected type...however, I get a nullpointer exception when trying to use those instance variables in run()...is this b/c run() is actually executed in the Thread cl***, thus ca <5> the instance variables in TraceThread? <6> hey guys, is it possible in java to generate a random number between two integers? (1-10 for example) <5> look up the RandInt cl*** in the api <5> and multiply the value by 10 <4> (int)Math.random() * 10 ....? <4> (int)(Math.random() * 10) <7> um <6> thanx ! ill check that out <7> Use the Random cl***. <5> dave-e: err, made a mistake, that's what i was referring to <4> Rob u able to look at that code by any chance yet? <6> ive seen that in the sun doc but the constructor doesne seem to get any integers <7> mast_ nextInt( n ) in particular, very useful. <6> thats great, thanx dave that should do it :)) <2> MillerHighL, thats one horrible way to implement a sleep <4> a sleep? whats that? <2> your stupid while loop <2> comparing the timemillis
<4> it works fine, it waits for 5 seconds and gives me no problems <4> the problme i have is very very weird... i'll explain <2> why aren't you using URLConnection <4> because i get more control over http headers this way <2> do make an url call and read the result <2> you can set any header you want <4> if i use URLConnection I can't modify the http headers really, i am doing fine with simple socket, which is what i want <2> and why are you using low level streams? <4> ok so, the first http request works fine, i send it GET ....... it returns with 200 OK <4> i like low-level -____-;; <2> if you send and read strings better use a reader/writer <4> the second one HANGS (during the is.read(b...,...) inside the readInputStream method) <2> why do you close the socket and open a new one? <4> each http connection is 1 connection <4> once u send an http request, u get 1 reply and it is over, a new connection must be made because the server closes connection after it replies <2> I don't see any different between call 1 and call 2 <4> i know, which is so wierd <2> why not put that code in a method <4> it doesn't hang during the first readInputStream <4> well, i don't really care about code organization for this project heh <2> your code is so ugly <2> I can only advice you to start over and learn the basics of java <4> heheh >_> <4> i think i'm going to learn C better... i have so much problems with java's i/o <4> it hangs here, doesn't read here <2> the readStream method is unnessesary <2> clean up your code <4> what do u mean unnessesary? <4> can it lead to this hanging? <2> bbl <8> hello do anyone know how can i put subtitles on a movie i download?@(i have the subtitles but i dont know how to put them) <9> h <9> hi <10> salut vieille tante <11> emmmm <11> :) <12> Is it cool to call a debugger cl*** for "AntEater"? <9> C++ power <9> CV# power <9> C# power!! <2> tera <13> rob
Return to
#java or Go to some related
logs:
anomatopoeia ogoba dj
#MissKitten jandermeria romana
#AllNiteCafe #linux #MissKitten meezyfuh
#linuxhelp #linux
|
|