@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> salam
<1> i found some package to generate a barcode some one have any idea ?
<0> bye
<2> Hey guys, I was wondering why when using the request dispatcher to forward one servlet to another on the same machine like getRequestDispatcher("ProfileCOntroller.do?username=..." it is unable to find the servlet like it does with a jsp file...I have the mappings set up in web.xml and verified so by accessing the page directly like localhost/ProfileController.do...any idea?
<2> it's like the web.xml mapping does not apply to the request dispatcher for some reason
<2> nevermind...it was my oversight..i didn't realize that the forwarding was done as a post request and not a get request
<3> hey ;-)=
<4> http://video.google.com/videoplay?docid=6379146923853181774&q=apple+multi+touch
<5> Crap, I go on holiday and my account seems to have lapsed.
<4> phewl
<5> Hey it was a 7 week holiday.
<4> pfht. ;)
<4> where did it take you, around the world. ten times?
<5> Singapore, Jordan, Egypt, Italy, France, The Netherlands, Scotland, Fiji
<4> wah, nice. all of that holiday? no work for 7 weeks?
<5> No work, just holiday



<5> Sigh... My auto-op is all gone...
<6> 'lo
<4> moin talios
<6> Mornin
<7> morning guys!
<4> hi
<7> helo clackwell!
<8> how can I send information so that IE will read it?? I am trying through a socket, but it doesnt work for me.....
<8> do i need some sort of special http command?
<5> You exchange information with a browser with an HTTP response (in response to a request). Nothing special about that.
<5> Unless you're an applet and you're trying to p*** information to the host page... that would use javascript callbacks I ***ume.
<6> np :)
<9> lo ppl
<8> what is a http response? does it have to look in some special way?
<9> I have JTextArea with a scroll bar. I am trying to make the scroll bar keep to the bottom of the screen if it is at the bottom of the screen. I have some code which checks to see if it is at the bottom and if so after the txt has been added to the JTextArea the scroll bar is .setValue(max) but this sets to the wrong pos.
<9> i think it is in the .getMaximum() returns the old max as if teh JTextArea has not yet told the scroll bar that it is bigger.
<9> i have tried using .updateUI() method on both the scroll bar and the txt area; any other ideas
<7> b_a_r_r_i what does updateUI method does?
<7> do you have an specific object to use in that method/
<7> do you have an specific object to use in that method?
<9> no idea i hoped it might update everything so that the getMax will return the correct value and the setValue(max) will work.
<9> is there an update method? I am using the .append("txt") on the JTextArea.
<8> do I send the response to a http request in the ServerSocket or in the Socket?
<7> well you have .updateUI()
<9> that is the method i was using. Should this update everything?
<7> i dont know im not that good in java YET
<7> whats the loop can you show it?
<9> SensesfaiL: loop?
<7> i mean whats inside the .updateUI()
<9> SensesfaiL: thats part of the swing lib.
<7> oh! sorry im not aware of the swing lib. stuff yet
<7> hehe
<9> Tamiiir: from what i remember u use a ServerSocket to get a Socket and then both client and server behave the same way to communicate to each other.
<9> Tamiiir: i.e. u use two Sockets to communicate to each other.
<8> one serversocket + TWO sockets??
<8> how do I create an inetaddress??
<9> i just fingured out how to fix my problem. I just created an inline cl*** which extends AdjustmentListener which receives an event after all is updated.
<9> Tamiir: you have one serversocket running on the server. (can put it on seperate thread if u want multi clients). A client then creates a socket.
<9> The client socket needs the ip address and port number that the server is running on.
<9> then the serversocket recieves data from the client. Then the serversocket releases a socket which can be used by the server to communicate to client #1.
<9> this socket i think u run on a new thread and keep the serversocket still running for more clients.
<9> (this is all from memory).
<9> if i was u i would 1st: look at writting a email client (very easy). 2nd: starting a server listening 3rd: connecting a socket to a server and 4th connection from socket to socket.
<9> if u r new to networking read up about it on net.
<8> I have got my serverpart to catch requests in the serversocket, then transfers them to a socket to be read... but I cant write back to the client....
<9> Tamiiir: try connecting your client to an email server just to check it out.
<9> i think a smtp server is quite easy to communicate to. google java smtp client.
<9> Tamiiir: just from memory i think u might have to flush the data stream for it to send the data through the network connection
<8> barri: yup, that was my problem, i didnt close the stream, so they didnt send..... should I close them every time, or just flush them??
<8> b_a_r_r_i: you know?
<10> hello, i'm learning java and when i try to use the scanner cl*** i get "type scanner not found in the declaration of the local variable 'scanner'
<11> hi
<12> morning
<9> goodnite. he he.
<13> who love's java trivia here?
<13> When data cannot be changed after a program is compiled, the data is _____.
<12> the question on a test that the asker is missing?
<14> define "data"
<13> !trivia
<13> Starting the trivia. Round of 10 questions. !strivia to stop. Total: 110



<13> . The method that determines whether two String objects are equivalent, regardless of case, is _____.
<13> Here's a hint, equals__________()
<13> equals
<13> equals object
<13> Time's up! The answer was: equalsIgnoreCase()
<13> . ActionListener is an example of a(n)_____.
<13> interface
<13> Winner: javaq_ Answer: interface Time: 8.578 Streak: 1 Points: 9 WPM: 12 Rank: 2nd
<13> . The statement g.drawString(someString, 50, 100); places someString's ______ corner at position 50, 100.
<13> Here's a hint, lowe_-____
<13> lower left
<13> lower-left
<13> Winner: javaq_ Answer: lower-left Time: 22.11 Streak: 2 Points: 10 WPM: 5 Rank: 2nd
<13> . A method variable will _____ a cl*** variable with the same name.
<13> Here's a hint, ove_____
<13> overloading
<14> my eyes!
<13> Time's up! The answer was: override
<13> . Usually you want each instantition of a cl*** to have its own copy of _____.
<13> Here's a hint, data ______
<13> field
<13> data fields
<13> Winner: javaq_ Answer: data fields Time: 17 Streak: 1 Points: 11 WPM: 7 Rank: 2nd
<13> . The method that positions a component within an applet is ______.
<13> Here's a hint, setL_______()
<13> setLayout()
<13> Time's up! The answer was: setLocation()
<13> !strivia
<13> Stopping the trivia. !trivia <number> to restart.
<14> ah! new EAP..
<12> javaq_: never do that again.
<12> wlfshmn: functional?
<13> sorry
<14> jottinger: dunno. I'll find out in a while I gues
<14> jottinger: I can't say I've followed the EAPs all that closely
<4> moin
<12> I haven't followed them at all lately
<12> I have too much work to do :(
<12> nice to see that debian is entirely retarded
<4> jottinger: what are they doing now? fighting sun every little step on the way?
<4> that would be quite like them, from the little i have seen.
<12> Clackwell: yeah
<12> god forbid that sun do great things for them
<4> jottinger: it's all a large industry conspiracy to destroy open software, never forget that.
<12> http://www.theserverside.com/news/thread.tss?thread_id=40818
<4> shame debian did enough things right
<12> binary search, hmph
<4> if they wouldn't, nobody would care about their ****wittism.
<4> but the way it is, with debian being in widespread use, they seem to hurt a lot of people with their absolutism.
<12> yeah
<12> I think the absolutism is a problem
<4> yeah. never compromise, always hardline.
<4> have you seen the discussion about prioritising java alternatives on debian?
<4> some want to always prefer the free stuff, if installed, if i got that part right.
<14> "alternatives" eh
<4> what happened to using the best available thing?
<12> Clackwell: absolutism
<4> if the user decided to install real java, why not just go and use it. yeah, that's their problem.
<12> "Sure, it won't RUN with this, but we prefer it"
<4> "and this runs enough applications to be a justified choice."
<14> if it actually -works-, I don't mind if they use a free cl***path. But if it behaves subtly off-spec and is only 90% compelte, I'm less impressed
<14> even the free cl***paths own unit testing shows they are quite inadequate for use in anything serious
<4> i would be okay to have each application in the debian package management system use the java runtime it has been tested to be working ok with, preferring the free stuff, and have everything else default to sun java, if present.
<4> but that would be compromising, i guess.
<12> I'm pretty sure Red Hat will be shipping Sun Java now :)
<14> if they make it prefere free stuff if installed, it will jsut make same epopel make damn sure they have nothing -but- sun java installed
<14> s/same/sane/
<4> you mean the overall pressure for a pragmatic approach on debian would be increased?
<4> wlfshmn: <nod>
<4> "how to un**** debian java wise"
<13> Clackwell: what's the future of java?
<4> javaq_: i don't care.
<14> in my mind, that means that an absolutist view on things means that your DFSG compliant java gets -less- exposure


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

wow 1-60 guide
scannerinput java
ACCORDING TO ROY ORBISON YOU HAVE TO PICK UP YOUR FEET, YOU'VE GOT A DEADLINE TO
xxxphotos
#squid
cure for hicups
#c++
#php
tiger+bar marsa
md6.cpp



Home  |  disclaimer  |  contact  |  submit quotes