5,727 Posted Topics

Member Avatar for sawant_nitesh

you don't even need a mobile phone to send SMS messages. You need a contract with an SMS service provider who will supply an SDK to use.

Member Avatar for peter_budo
0
503
Member Avatar for FoziaZafar

no, we don't help thread hijackers who are too lazy to even read the tutorials (if you'd done that you'd have figured it out for yourself).

Member Avatar for jwenting
0
120
Member Avatar for z_zendegi
Member Avatar for z_zendegi
0
75
Member Avatar for MaydayLove

nope. We can't do it for you (or rather we could, but we won't). You have a complete and detailed problem description, implementing that should be trivial if you've done your previous homework and paid attention in class.

Member Avatar for peter_budo
0
169
Member Avatar for zkelvin2010
Member Avatar for zreed

tell your "friend" to do his own homework. Though of course we all know your "friend" is really you.

Member Avatar for jwenting
0
295
Member Avatar for Abdel_eid
Member Avatar for AcidG3rm5

says it all really, the key is not just invalid, it's not even recognised as a possible key.

Member Avatar for jwenting
0
669
Member Avatar for vani.golakoti
Member Avatar for smart99

[url]http://java.sun.com[/url] and don't start with JEE, start learning Java itself first.

Member Avatar for NP-complete
0
73
Member Avatar for electricrain

NoCodeTagsError at line 1, program terminated. OutOfCheeseError at line 0, redo from start

Member Avatar for JamesCherrill
0
632
Member Avatar for Clawsy

There are many service providers who'd be more than happy to sell you services to send SMS through their networks. But you're not going to get a freeby.

Member Avatar for jwenting
0
987
Member Avatar for madhurita

[url]http://java.sun.com[/url] look for the tutorial, the jdk download, documentation.

Member Avatar for finito
0
99
Member Avatar for tarek.mostafa

afaik there's no way to do that clientside without resorting to applets or flash. Javascript (which you'd have to use) has no such functionality and for good reasons, it's no intended for interacting with the filesystem.

Member Avatar for jwenting
0
87
Member Avatar for jiraiya

and no stupid things like hardcoding operating system specific file locations :)

Member Avatar for jwenting
0
91
Member Avatar for sam1

What are you trying to accomplish? I don't have Netbeans installed here (don't like the product, too slow and cumbersome) but you should be able to add the requires jar to compile them like any other. If you want to have Netbeans generate a web application it should automatically do …

Member Avatar for mxd4n13l0n
0
205
Member Avatar for socal

of course it does. Read that line again, where's your class "keyboard" with a constructor that takes an InputStream? Most likely what you intended to write was [code]Scanner keyboard = new Scanner(System.in);[/code] which might work (I never use Scanner, don't know its interface, but I think it works like that).

Member Avatar for NP-complete
0
123
Member Avatar for Admiral Duane

unless you're the top troubleshooter you're not going to travel much. And that takes years or decades to accomplish. "Desktop support" basically means fixing broken office computers, kids like that are a dime a dozen in every country, no need to send some junior to another country to do the …

Member Avatar for jwenting
0
161
Member Avatar for jade24

yes, "the degeneration of computer science students as a function of the number of them asking for project ideas on internet forums".

Member Avatar for jwenting
-1
50
Member Avatar for AmericanRogue

If you submitted code like that to me for review, you'd fail instantly. Learn Java and proper OO techniques, learn to design software rather than hack it together, and learn to document what you design.

Member Avatar for jwenting
0
2K
Member Avatar for johndoe444

The instance of the anonymous inner class exists only in the context of the runtime stack of the method, is a method local variable and as such has access to other method local variables of that same method instance.

Member Avatar for JamesCherrill
0
102
Member Avatar for TGeorge824

Doubt about what you want to do is a natural thing. Also, don't expect to do the same thing for the rest of your life if you have a decent education. You're more likely to flow into different jobs and positions over the years until what you're doing has little …

Member Avatar for jwenting
0
123
Member Avatar for samarudge

You need to get an ssl certificate from an official certificate agency like Verisign. This is the same you'd do when you set up a server on https. If you don't have one, jarsigner will create a "fake" certificate. These are called "unverified" because there's no trusted agency behind them, …

Member Avatar for jwenting
0
118
Member Avatar for vb5prgrmr

nah, just requiring all posts by people with less than 20 (say) posts to be moderator approved would do far more good. Combined with strict requirements: no zombies, no homework kiddos, no spammers, no flypaper, no thread hijacking. Any of those gets you a warning, 3 warnings in those first …

Member Avatar for colweb
4
184
Member Avatar for ekseks

Don't use Vector, period. It's a legacy class that should be avoided in all new code whereever possible (there are a very few cases where you have to use it like in some Swing code, but that's it).

Member Avatar for jwenting
-1
92
Member Avatar for kesh1000

Create a file of some sort (xml would work here, but there are many other options) containing all the information, and read it from there.

Member Avatar for adrianniebla
0
161
Member Avatar for itz.aayushi

good, that's such terrible code it should never work. Even if it were syntactically correct (I didn't even bother to check) it's conceptionally so utterly wrong it should just give up and die.

Member Avatar for itz.aayushi
0
934
Member Avatar for softdev

When will people (especially kids) get it into their brains that there is no overall "best" in any such comparison, only different ways of doing thing each of which might be more or less suitable to specific situations? It's a sickening phenomenon that seems to be growing ever worse.

Member Avatar for softdev
0
107
Member Avatar for demifuror

You'll have to create your own LAF to match the one your OS is using. Java doesn't use the native GUI libraries from your operating system, so can't know what your operating system's LAF is. The Linux LAF is based on one way a Linux GUI may look that was …

Member Avatar for jwenting
0
248
Member Avatar for mps727

Because most companies will entertain the services of specialised recruitment companies to perform the first selection of candidates. And most companies that don't don't post on those sites, rather relying on more traditional ways like posting on their own sites or in professional publications. There's nothing wrong with MOST such …

Member Avatar for jwenting
0
137
Member Avatar for PatMcC
Member Avatar for griswolf
0
103
Member Avatar for BestJewSinceJC

[QUOTE=BestJewSinceJC;1193875]The article I posted explained how Goldman Sachs has been intentionally and illegally exploiting financial markets for profit. [/QUOTE] Which is completely and utterly BS. They were duped as was everyone else.

Member Avatar for sneekula
1
119
Member Avatar for kbar

first things first, you're using floating point numbers where you should be using integer numbers. Not only is that uncalled for here, but due to floating point rounding errors you'll never get (unless by pure chance) the result of a floating point calculation to be exactly 0. Solve that first …

Member Avatar for kbar
0
96
Member Avatar for Dani
Member Avatar for The Dude
2
190
Member Avatar for kizito106
Member Avatar for jwenting
0
139
Member Avatar for ayan2587

Even in 3 weighings you can not know for certain which of the last 2 is the odd one out. You'd need to test one of them against a known normal one to detemine which of the 2 it is, so need a minimum of 4 weighings. If you knew …

Member Avatar for printrobin
0
108
Member Avatar for leigh22

no, you're hopeless. Just admit as much to your teacher and they may be lenient and allow you to retake the class or switch it out for something else like an internship at McDonalds to learn burger flipping.

Member Avatar for printrobin
0
96
Member Avatar for GrimJack

It's no doubt intended as a protest against the slew of semi-random bans and prohibitions people are faced with every day. Freedoms are being eroded in the name of "security" and "health and safety regulations", and at long last (though it may be too late, the agencies involved may have …

Member Avatar for Biker920
0
129
Member Avatar for anuplike

he's using Java code in JSP. That's the first error. Use a servlet insted for sending that email. Then he's stupidly trying to create a class inside a JSP. A class that has a main method which he no doubt expects to be called and execute that main method when …

Member Avatar for jwenting
-1
91
Member Avatar for mvsraman

You don't. NEVER use Java statements in JSP, always use only JSTL and JSF. And if you don't know what you're doing wrong here in Java code, you have no business writing JSP (or using those particular APIs) anyway as it's an extremely basic error that you should have learned …

Member Avatar for jwenting
0
117
Member Avatar for khess

There's only so much space on a frontpage, and there are far more people interested in the latest news about facebook or twitter than there are about the latest kernel patch for some obscure linux distribution.

Member Avatar for khess
0
1K
Member Avatar for alvarog9

hmm, had it somewhere. But I think it's on an 8" floppy. Must hunt down some 30 year old hardware so I can read it. Will probably require me to first invent and build a time machine to go back those 30 years.

Member Avatar for POTUS270
-3
171
Member Avatar for kesh1000

So much wrong with that method I don't even know where to begin... 1) don't make it static. 2) don't reference outside variables, certainly never do so without checking them for validity first. 3) use proper means to open a connection, don't put username and password into the url like …

Member Avatar for kesh1000
0
338
Member Avatar for viliusz

nope. All such "surveys" are completely useless. And noone in his right mind would click on some obscure link created by a first time poster, most such links give you malware infections.

Member Avatar for griswolf
0
140
Member Avatar for Guru.M
Member Avatar for Madawar
0
75
Member Avatar for Guru.M
Re: java

by learning first English so one can understand the tutorials and books, then learn Java by studying those tutorials and books.

Member Avatar for jwenting
0
21
Member Avatar for kesh1000

1) define table structure 2) learn about jdbc 3) create a decent architecture for your persistence layer 4) decouple the persistence code out of your existing application 5) replace the calls to the decoupled persistence code with calls to the new persistence layer

Member Avatar for kesh1000
0
942
Member Avatar for thabotharshan

Read and understand the java tutorial first of all. You seem to have no grasp of what a javabean is, which means you don't understand the basics of the language.

Member Avatar for peter_budo
0
117
Member Avatar for valatharv

any properly designed database would handle all that... If you understood how a transactional system works, you'd know that. There are no "issues" for example if you employ proper transaction boundaries, iow commit when needed, no sooner and no later.

Member Avatar for jwenting
0
118
Member Avatar for mrnutty

[QUOTE=HiHe;1220917]Isn't signature spamming fun? What kind of sticks and poor quality DVDs are you unloading on the naive public? Too bad the new design doesn't prevent that.[/QUOTE] Worse, it clearly shows the mods/admins have no interest in stopping spammers even if they're pilfering products that are in clear violation of …

Member Avatar for jwenting
1
189

The End.