User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 370,565 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,021 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 500
Search took 0.07 seconds.
Posts Made By: masijade
Forum: Shell Scripting 2 Days Ago
Replies: 2
Views: 48
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Re: Problem: Instant Messenger

See here http://www.daniweb.com/forums/thread134918.html
Forum: Java 3 Days Ago
Replies: 12
Views: 171
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Re: Problem: Instant Messenger

And your question is?
Forum: Java 3 Days Ago
Replies: 1
Views: 44
Posted By masijade
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
Posted By masijade
Re: how to close the application using java

Process p = Runtime.getRuntime().exec(browserCommand+" "+Url_name);
p.destroy();
Forum: Shell Scripting 3 Days Ago
Replies: 5
Views: 149
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Re: Newbies question

So move line 7 above line 6 and change 'A' to grade.
Forum: Java 9 Days Ago
Replies: 3
Views: 88
Posted By masijade
Re: please assist me in Files

Show us what you have.
Forum: JavaScript / DHTML / AJAX 9 Days Ago
Replies: 6
Views: 196
Posted By masijade
Re: correct?

Seemingly not.
Forum: Java 10 Days Ago
Replies: 3
Views: 96
Posted By masijade
Re: plz tell me

:sigh:

System.out.println();

about 50 times.
Forum: JSP 10 Days Ago
Replies: 3
Views: 150
Posted By masijade
Re: help jsp vista home premium

Question what ask you?
Forum: Java 10 Days Ago
Replies: 9
Views: 241
Posted By masijade
Re: How methods with multiple parameters are declared.

Correct, but you also need to declare the parameter types and what the method is to return. i.e.


public String getInfo(String name, String address, String phoneNumber) {
return name + " " +...
Forum: Java 11 Days Ago
Replies: 9
Views: 241
Posted By masijade
Re: How methods with multiple parameters are declared.

Uhm, I'm sorry but you're getting your terms mixed up. What you refer to as declaring the method, is actually calling the method, and what you refer to as defining the method is both declaring and...
Forum: JSP 14 Days Ago
Replies: 1
Views: 233
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Re: Very new to Java - Compiler cannot find symbol

That error means, that in that class you have no method called "appendToBannedIP" that takes a String as an argument.
Forum: Shell Scripting 16 Days Ago
Replies: 3
Views: 239
Posted By masijade
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
Posted By masijade
Re: Compressing a gzip file (.gz)

Not that I think you'll win much, but did you use the -9 option when you created the gzip file?

Otherwise, split and join.
Forum: Java 16 Days Ago
Replies: 8
Views: 580
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Re: Rmi by Internet connection

Maybe, if you were to show what the nested exception is.
Forum: Java 19 Days Ago
Replies: 3
Views: 116
Posted By masijade
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
Posted By masijade
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
Posted By masijade
Forum: Java 22 Days Ago
Replies: 6
Views: 183
Posted By masijade
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
Posted By masijade
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.
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 4:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC