Forum: Shell Scripting 2 Days Ago |
| Replies: 2 Views: 48 Re: tar issues... You can also do
tar xvf bin.tar \*perl\*
but you're right, the quotes are probably easier. |
Forum: Java 2 Days Ago |
| Replies: 12 Views: 171 Re: Problem: Instant Messenger And if you look closely, you will notice that this is two threads that have now been combined by the admins (since the link in my last post links to this thread). |
Forum: Java 2 Days Ago |
| Replies: 12 Views: 171 |
Forum: Java 3 Days Ago |
| Replies: 12 Views: 171 Re: Problem: Instant Messenger Is there a server running?
To use a client you have to have something to connect to, and that message means (usually) that there is nothing listening on that port, at that ip. |
Forum: Java 3 Days Ago |
| Replies: 12 Views: 171 Re: Problem: Instant Messenger Correct. Add an e.printStackTrace() to the catch block printing that message so you can see what type of IO Exception you're getting. Also, as long as the port is above 1024, anyone can use it... |
Forum: Java 3 Days Ago |
| Replies: 12 Views: 171 |
Forum: Java 3 Days Ago |
| Replies: 1 Views: 44 Re: running thread continuously Write a servletContextListener to start the threads at application startup and interrupt them at application shutdown.
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html |
Forum: Java 3 Days Ago |
| Replies: 6 Views: 783 |
Forum: Shell Scripting 3 Days Ago |
| Replies: 5 Views: 149 Re: command to telnet console using shell-script Well, it shouldn't be.
Using a "here document" is very standard for this sort of thing.
How do you know it is getting closed before sending that? (It's not something you'll see in the console, or... |
Forum: Shell Scripting 3 Days Ago |
| Replies: 5 Views: 149 Re: command to telnet console using shell-script telnet 150.236.18.66 25 <<EOF
HELO
whatever else you need to send the mail
EOF
Better yet, have the script write everything it wants to send in a file and do
telnet 150.236.18.66 25 <<filename |
Forum: Java 8 Days Ago |
| Replies: 10 Views: 177 Re: setting the frame = to null on close? Yes, it is, but sometimes it's just not worth it to argue the point. ;-)
I believe he doesn't realise that to call pack and setVisible(true) on the reference again, will simply "rebuild" the frame.... |
Forum: Java 8 Days Ago |
| Replies: 10 Views: 177 Re: setting the frame = to null on close? Right, it doesn't. It does destroy the all of the event threads references to it, but if you still hold one, it will still exist. The event thread cannot do anything about the references you... |
Forum: Java 9 Days Ago |
| Replies: 22 Views: 455 Re: New to Java I'm not sure if you can run two programs from Eclipse at the same time. You're probably better off compiling and running these from the command line (one command shell per). |
Forum: Java 9 Days Ago |
| Replies: 22 Views: 455 Re: New to Java You don't, if you're using Eclipse for this. Eclipse has it's own compile and run functions (which you, hopefully, already know how to use).
You use those commands if you are compiling and running... |
Forum: Java 9 Days Ago |
| Replies: 22 Views: 455 Re: New to Java Change the compiler compliance level to 5.0 or 6.0 (and, if you're version won't let you, upgrade Eclipse).
No, it's because you need to change the hostname referenced in the program. Your... |
Forum: Java 9 Days Ago |
| Replies: 10 Views: 177 Re: setting the frame = to null on close? So don't call setVisible(true) (show is deprecated).
Really, as long as your frame isn't a instance variable (or even worse class variable) in a class that is always active, it will, eventually, be... |
Forum: Java 9 Days Ago |
| Replies: 22 Views: 455 Re: New to Java That is the runtime. Has nothing to do with the compilation. Eclipse has it's own compiler and you can set it to expect source from anywhere form 1.4 to 1.6.
Look at your preferences... |
Forum: Java 9 Days Ago |
| Replies: 3 Views: 88 Re: please assist me in Files Rather than having both properties and an extra line with a username, simply add a user=name property. Then all you have to do is load, setProperty (for each key to be changed), and store. |
Forum: Java 9 Days Ago |
| Replies: 5 Views: 104 |
Forum: Java 9 Days Ago |
| Replies: 3 Views: 88 |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 6 Views: 196 |
Forum: Java 10 Days Ago |
| Replies: 3 Views: 96 |
Forum: JSP 10 Days Ago |
| Replies: 3 Views: 150 |
Forum: Java 10 Days Ago |
| Replies: 9 Views: 241 |
Forum: Java 11 Days Ago |
| Replies: 9 Views: 241 |
Forum: JSP 14 Days Ago |
| Replies: 1 Views: 233 Re: hi,urgent 1. Not urgent. To suggest that this "problem" is more important than anyone else's problem here, and we should just stop everything and "help" you, and you alone, is just plain rude.
2. Post your... |
Forum: Java 15 Days Ago |
| Replies: 1 Views: 123 Re: I'm Facing A Problem If your site is not a web container, you're going to have to make an Applet (and if you wrote a normal app, you'd have to do that anyway).
http://java.sun.com/docs/books/tutorial/deployment/applet/ |
Forum: Java 15 Days Ago |
| Replies: 1 Views: 129 Re: .mp3 in jsp A JSP will not play anything. If you know how to provide a browser with these items in HTML in such a way that the browser will play them, then you do it exactly the same way in JSP.
You can also... |
Forum: Java 16 Days Ago |
| Replies: 5 Views: 165 Re: My Big Problem Post your code and we will help you correct it, but no one is just going to give it to you. |
Forum: Java 16 Days Ago |
| Replies: 1 Views: 225 |
Forum: Shell Scripting 16 Days Ago |
| Replies: 3 Views: 239 Re: Compressing a gzip file (.gz) Of course you can (and it is -9), but it's not worth it if you don't know whether or not it was already used. use split and mail it in pieces, then use join to recreate the file at the other end. |
Forum: Shell Scripting 16 Days Ago |
| Replies: 3 Views: 239 |
Forum: Java 16 Days Ago |
| Replies: 8 Views: 580 Re: Rmi by Internet connection That is, seemingly, not a publicly available ip address (i.e. can't be reached from the internet, at all), or you are attempting it to access throught the wrong interface on your computer, and so... |
Forum: JSP 17 Days Ago |
| Replies: 1 Views: 230 Re: plzz help..urgent Other than the fact that you shouldn't be doing this in a JSP, I don't know, since you haven't bothered to tell us what is going wrong with it, and I am not even going to attempt to guess.
What... |
Forum: Java 17 Days Ago |
| Replies: 8 Views: 580 |
Forum: Java 19 Days Ago |
| Replies: 3 Views: 116 Re: Need a Urgent Help And what exactly would be the problem, other than the fact that this is JSP and should have been posted to the JSP Forum, and you are doing about every thing in a JSP that you shouldn't be. |
Forum: Shell Scripting 20 Days Ago |
| Replies: 6 Views: 448 Re: unix little quiz Question 1. What if the same pattern also fits inside the "largest" pattern? i.e
pattern: A.*B
String: ABCDEFBGHIJK
Is AB matched, or is ABCDEFB matched?
Question 2:
What is th difference... |
Forum: Java 22 Days Ago |
| Replies: 2 Views: 163 |
Forum: Java 22 Days Ago |
| Replies: 6 Views: 183 Re: *** help me urgent *** Much easier, an ice-pick inserted about 3 cm into your ear in the direction of the other ear, pull it out, insert a flexible straw in its place, and you can blow your own mind. |
Forum: Java 23 Days Ago |
| Replies: 4 Views: 186 Re: What is the order of a class-call? Create two small classes and have one class call new on another class (that contains all the things you want to see) and run through the instantiation in a debugger. |