5,727 Posted Topics

Member Avatar for thekashyap

The runtime is backwards compatible (if the code was originally written by someone who's not a complete moron for using classes that are clearly mentioned you should not use).

Member Avatar for jwenting
0
307
Member Avatar for manisha

I could: see the installation instructions ;) They're quite comprehensive for a variety of platforms.

Member Avatar for jwenting
0
269
Member Avatar for DeFrog777

.NET is not a ripoff of Java just as Java is not a ripoff of C++. .NET is a logical progression from the existing COM+ technology which itself is a development of older ActiveX technology the predecessors of which existed over 10 years ago. Java didn't invent the concept of …

Member Avatar for Ezzaral
0
158
Member Avatar for EnderX

hmm, Cobol editors are usually rather BASIC (pun intended) and save either as plain text files (so you can easily ftp them to a server for compilation), or into some sort of database repository where the compiler will pull them from. This looks like some regular expression being passed into …

Member Avatar for jbennet
0
165
Member Avatar for Mariam87

so you liked the sound of it but haven't got a clue what it actually is? Why not ask the person who wrote the proposal? Or maybe find something that you do actually understand?

Member Avatar for jwenting
0
147
Member Avatar for souvik_gh2005

and if you want to build it, why ask for someone else to do the work for you?

Member Avatar for peter_budo
0
111
Member Avatar for The Dude

at last newsies killing eachother instead of others in pursuit of a story. Shame about the helicopters though.

Member Avatar for The Dude
0
44
Member Avatar for Masud

Look at the logging API that's no part of the language (or products like Log4J).

Member Avatar for jwenting
0
89
Member Avatar for abar_sow

no, we're not going to do your (home)work for you. That's pretty basic functionality, anyone should be able to figure it out for themselves. Regular expressions to find URLs are scattered all over the web if you want them.

Member Avatar for abar_sow
0
200
Member Avatar for arunprashanth

I doubt anyone there would be willing to help him if he doesn't provide more information than that though (if only because it's far from enough to say more than that he's done something wrong somewhere).

Member Avatar for jwenting
0
86
Member Avatar for ndeniche
Member Avatar for nizzy1115

EE is a good site. They went commercial a while ago which is sad but understandable given the cost of running a major site like that.

Member Avatar for RwCC
1
823
Member Avatar for akash_msrit

but of course you shouldn't do any of that in a JSP as it's not what they're meant for. In JSTL you could just use < and > to compare context fields containing Dates of course.

Member Avatar for jwenting
0
1K
Member Avatar for agrothe

why reinvent the wheel when there are perfectly good solutions like Hibernate and Spring already out there?

Member Avatar for tonakai
0
144
Member Avatar for tformed

obviously. For starters he's missing an include for his very own headerfile... I didn't look further than that.

Member Avatar for ~s.o.s~
0
225
Member Avatar for xfrostedkissx

If you back up your work before experimenting you can always revert to a version that worked and start from there... At the very least get rid of that hardcoded dictionary in your main class, and separate the business logic from the user interface.

Member Avatar for jwenting
0
186
Member Avatar for quintoncoert

yup. The code is returned to the operating system and can be polled from other programs (like shellscripts) to determine the reason why the program terminated (with 0 traditionally indicating that everything worked smoothly).

Member Avatar for Salem
0
619
Member Avatar for Mr.UNOwen

[quote]Is there a way java automatically detects classes [/quote] yes, kinda, depending on what you mean [quote] is there a way I can access a class at runtime by a string so that I can just read a text file and know what classes to get[/quote] yes You can set …

Member Avatar for thekashyap
0
86
Member Avatar for manusp

[quote]Guys, sorry but just give me exactly how the code should be written, so i cn turn in my assignment by tonight! [/quote] That's NOT how things work. If you're incapable of or unwilling to (sounds not the case here) doing your work you SHOULD fail early, to prevent worse …

Member Avatar for masijade
0
142
Member Avatar for Ved_TheOne

and now you put that into code. And when you've done that and it actually works (instead of pasting something you pilfered out of a newsgroup or website without actually seeing if it does anything close to what you're supposed to do), you try to make it look like you …

Member Avatar for masijade
0
127
Member Avatar for Firestone

[QUOTE=Killer_Typo;400676]java compilers and the java runtime environment are created using C++ [/quote] Possibly, but not necessarilly. You can just as well write a JVM in say Fortran or Assembly. Or create one in hardware. Anyway, the language a compiler or operating system is written in is no indication that you …

Member Avatar for Rashakil Fol
0
374
Member Avatar for ressi1
Re: java

hmm, so you need to control a touch screen, electronic payment terminals, and things like that as well?

Member Avatar for venomlash
0
83
Member Avatar for Milkybar

And no, we're not here to do your homework for you... And I will NOT open zipfiles presented to me by total strangers, as such usually contain trojans and other nasties I certainly don't want on my system.

Member Avatar for Milkybar
0
83
Member Avatar for abar_sow

You will need to add the required jarfile for the servlet API to your classpath.

Member Avatar for ~s.o.s~
0
131
Member Avatar for lavilare

well, it all depends on your operating system of course... For Windows, Microsoft Visual C++ is pretty much the standard, with Codegears C++ Builder (or the cheaper (there's even a free version) Turbo C++ Explorer) as a good alternative.

Member Avatar for jwenting
0
97
Member Avatar for vvn

and why should we do your research for you? You have the entire internet at your disposal to figure things out, use it.

Member Avatar for jwenting
0
160
Member Avatar for venomlash

[QUOTE=Ezzaral;407087]Memorizing API functions and trying to decipher exception messages from a text stack trace only slow down the process of learning the language and how to use it effectively. Some would say "bah, that's all part of the trials a beginner must face!", but I don't think that necessarily enhances …

Member Avatar for jbennet
0
155
Member Avatar for The Dude

Sigh, I never had one... My parents could easily afford them but never pampered us kids (and didn't think computers were important for education which at the time was quite correct). First computer I had (or rather my parents) was an original IBM PC Portable, back in 1984. Before that …

Member Avatar for Chaky
0
308
Member Avatar for staneja

this has nothing to do with JSP... And you seem to have defined your instance (I hope) variable conn as being of the wrong type. Anyway, what you're doing is terrible. You should never open connections to external resources at a different place from where you're going to close them. …

Member Avatar for staneja
0
92
Member Avatar for dcc

[QUOTE=Serunson;383228]sentence was reduced to 3 days ~ celebrity's could get away with murder...... a flutter of the eyelids and the guards drop to the floor like dogs......[/QUOTE] HAVE gotten away with murder... Remember OJ Simpson? He got away with murder because he's famous and black.

Member Avatar for joshSCH
0
715
Member Avatar for Phrogramer

[quote]Assuming you have fully tested it [/quote] Never assume that, it's hubris ;) [quote]i hate free trials - i mean, how many of us have used winzip/winrar past the 30 days eh? [/quote] I have, but I paid for it ;) Not only is it immoral and illegal not to, …

Member Avatar for Rashakil Fol
0
184
Member Avatar for vijaygandhi559

Or do the smart thing, and supply a configuration file for log4j as explained in the manual. Far more flexible, and you can tune logging options without needing to recompile everything.

Member Avatar for jwenting
0
203
Member Avatar for madhu.garimilla

now let's try that with input (10000000000, 325523) :) I do want some performance out of it of course...

Member Avatar for iamthwee
0
1K
Member Avatar for venomlash

there is no "paint" interface, at least not in any well architectured API. Anyone who doesn't know what an interface is or how to use one should resort to some beginner's tutorial btw.

Member Avatar for jwenting
0
99
Member Avatar for vijaygandhi559

and it's certainly not urgent. There's no urgency at all for any of us to help you.

Member Avatar for masijade
0
163
Member Avatar for Elfshadow

it all depends on the compiler, the linker, and the options you set for them. A suboptimal compiler or linker may link in a lot of stuff that's not needed, an optimising one may remove all that. Runtime performance won't be affected by that (except maybe application loading times, which …

Member Avatar for jwenting
0
127
Member Avatar for kantze

1) your law doesn't apply if the contract (which you went into by installing the software) was written under another jurisdiction 2) there are always cheaper alternatives. You get what you pay for of course 3) if those colleagues commit suicide, will you follow their example? So why do you …

Member Avatar for TheGathering
0
129
Member Avatar for black_pulsar_29
Member Avatar for Narue

> Those questions aside, here's how i'd do it in C++ > I like it. But I forgot to tell you that our development environment is extremely buggy and resource intensive (management is looking into replacing it). Using the standard library would be a bad idea for this component since …

Member Avatar for Bench
0
498
Member Avatar for JulieMHill

"only problem is that I have to do everything by hand" That's no problem at all, unless your hand is broken (and if so you can learn to use your other hand). First you should try to figure out what the heck you're trying to do, because you certainly don't …

Member Avatar for JulieMHill
0
133
Member Avatar for baltazar

if you know how to create a tree you should know how to create one in Java. There's nothing that makes Java different from say C++ in that. And what exactly are you trying to do with a List when you want to make a Tree?

Member Avatar for mzd12111
0
251
Member Avatar for tiyagu_vpm
Re: tech

anyone who cares one way or another has no business being in professional software development...

Member Avatar for jwenting
0
88
Member Avatar for freddypyther

The simulation won't require any display code, the display code won't require any simulation. While you may optimise the display code for specific data, it should never be mixed into the code that generates that data.

Member Avatar for jwenting
0
115
Member Avatar for Narayan.kv

it's not a bug in IE. Why the heck do kids always think their own incompetence is a "bug" in someone else's product? Quite simply you're almost certainly running into connection timeouts.

Member Avatar for ~s.o.s~
0
152
Member Avatar for pnkbhat

maybe a grammar checker? You do seem to be in serious need for one.

Member Avatar for ~s.o.s~
0
118
Member Avatar for Blue house Bill

did you reboot after you plugged in that other mouse? PS/2 plug devices (which your mouse is) won't usually work until the power has been interrupted on the bus. If you have you either have 2 bad mice or you may have a faulty PS/2 bus or controller. As you …

Member Avatar for ProgrammersTalk
0
163
Member Avatar for Dave Sinkula

corporal punishmen is not just good for kids. Public whipping or caning could be a serious deterrent for minor crimes like pickpockets and jaywalkers.

Member Avatar for jbennet
0
320
Member Avatar for deadsea

Germany, Denmark, Belgium, Luxembourg, France, Germany, Austria, Italy, Monaco, Hungary, Slovenia, Croatia, Czech republic, Slovakia, Romania, Russia, Ukraine, Kazakhstan, Uzbekistan, Turkmenistan, Georgia, Azerbaidjan, Armenia, Canada, USA (all the east, west, and south coast, plus Nevada, Idaho, Wyoming, Montana, and a few other states), Netherlands Antilles, Tunisia, Morocco, Turkey.

Member Avatar for christina>you
0
173
Member Avatar for nhlagumbi

hmm, our system has several thousand classes. Can't remember them all right now, but I seem to recall something representing a stock, a stockmarket, a stockquote, a trade, etc. etc. Maybe it's time to admit to your employer that you lied on your resume when you told them you were …

Member Avatar for jwenting
0
102
Member Avatar for genocide

but I seriously doubt he will (unless it is under another pseudonym trying to trick people into doing his homework some other way).

Member Avatar for jwenting
0
151

The End.