5,727 Posted Topics

Member Avatar for Panarchy

[QUOTE=Panarchy;456957]Do you know where I can find the code, already working? [/quote] yes, in fact I wrote one (or rather contributed to one). The same one now used by among others Sun and Novell for their websites. [QUOTE=Panarchy;456957] I am looking for a backend that I can edit (open source) …

Member Avatar for Panarchy
0
157
Member Avatar for leroi green

If that person gave up, make sure to let your instructor know that. He or she deserves no credits for your work.

Member Avatar for mickinator
0
216
Member Avatar for paydfody

System.exit(1) indicates abnormal program termination (crash, error). Normal termination is indicated by exit code 0.

Member Avatar for kmlittle
0
307
Member Avatar for ravi_forum

Java isn't designed for accessing lowlevel operating system functions like that. You may be able to using JNI to call the required operating system functions for the operating system you have in mind, but it's better to use C (for example) for things like that.

Member Avatar for jwenting
0
78
Member Avatar for vivek_green

and why use public static fields at all? They're THE worst thing to use in Object Oriented programming, a clear sign that the programmer didn't know the first thing about what she was doing.

Member Avatar for jwenting
0
106
Member Avatar for Labby77

And no, there is no site where you can download complete solutions to your homework assignments. Or if there is it's not in anyone's interest to give you the location for it.

Member Avatar for jwenting
0
93
Member Avatar for satish.paluvai

yep. WebLogic docpacks make great monitor stands (I know from experience).

Member Avatar for jwenting
0
82
Member Avatar for Chaster

you didn't add the jar to your project... The system classpath is not something you normally should use, as most tools will simply ignore it. Set a classpath for each JVM you start as you start it.

Member Avatar for Ezzaral
0
187
Member Avatar for The Dude

Just one, which I use mainly for online purchases and gas (which is reimbursed by my employer at the end of the month, so why pay for it in advance :) ). For online purchases, a CC is almost a requirement. PayPal is unreliable (they're fraudsters), IMOs are slow and …

Member Avatar for Lardmeister
0
242
Member Avatar for satish.paluvai

And define "not the same". What are you going to use as criteria? Names only? Sizes too? Or the actual content (and if that, how strict are you going to be? If they're 2 text files that differ only in whitespace, do you consider them the same or not?)? Get …

Member Avatar for masijade
0
104
Member Avatar for thunderbbolt
Member Avatar for The Dude

well, 3 strikes you're out. That's the law of the land, and it's working to put repeat offenders away for a long time. If it deters a few kids from going into crime as a career it's worth it. After all, "it's all for the kids" so it must be …

Member Avatar for lasher511
0
204
Member Avatar for Asif_NSU

That's the problem when you pull code from some website or book and submit it as your own... You learn nothing from it. Learn to make your own code, learn to understand the code of others.

Member Avatar for roxanne_gem07
0
279
Member Avatar for Dave Sinkula

[QUOTE=jasimp;446448]Can conservatives do anything accept bash liberals?[/QUOTE] I'm so sorry you consider pointing out the truth "bashing liberals".

Member Avatar for hopalongcassidy
0
196
Member Avatar for hbk619

the moment it is sent to that person it is by definition no longer a secret...

Member Avatar for hbk619
0
285
Member Avatar for sawant_nitesh

hmm, we're going to have a weekly "Jav iz ded" thread here as well? Was kinda missing it, every other Java related site has one and has had one for as long as Java has been in existence.

Member Avatar for hopalongcassidy
0
183
Member Avatar for roadoggdna28

nope, never seen it. Sounds like the installer didn't complete normally. Uninstall and try again.

Member Avatar for jwenting
0
53
Member Avatar for JavaNewbie07

Nor can we know how your "LinkList" class works. The standard LinkedList class has a very nice addAll method to add all elements from one List to another. If your "LinkList" (stupid idea, never reimplement something available in the standard libraries) implements List it would have such a method too.

Member Avatar for JavaNewbie07
0
95
Member Avatar for daniweb2013

don't. BGI is ancient, non-portable, unsupported, etc. etc. etc. And if you didn't know that yet you have no business writing games (or indeed any complex software).

Member Avatar for PirateTUX
0
366
Member Avatar for Jordan_29

my computers never get turned off, the powersurge when booting them accounts for several hours of keeping them running, and the increased wear and tear on components due to booting and shutting down as compared to keeping them running would degrade their lifespan seriously enough that any "savings" are undone. …

Member Avatar for Lardmeister
0
187
Member Avatar for nhlagumbi
Member Avatar for nhlagumbi
0
445
Member Avatar for himanjim

Tomcat comes with tutorials. So does the JEE SDK. There's also tons of tutorials (of highly variable quality) scattered around the web. And every decent bookstore has a shelf of books to choose from.

Member Avatar for himanjim
0
105
Member Avatar for Rashul

and why do this in Java? It's purely structural programming, far more suited to Pascal or C.

Member Avatar for Ezzaral
0
2K
Member Avatar for push

"how can I get a house number if I know the streetname?" In other words, you're not going to do that.The port number is a part of the address, without the address you're not going to get anywhere. While you could try every possible port and see what happens, that's …

Member Avatar for jwenting
0
54
Member Avatar for w32.sysfile

you are not creating a compiler, you're creating a program that tries to call a compiler someone else created. The reason your output is not retained is likely because you're launching another process which under Windows means another command shell, which gets closed as soon as that process completes. And …

Member Avatar for lookof2day
0
157
Member Avatar for parthiban

Static is just that, by definition it's shared between all instances of a class. A method can have final variables, which may be what you're looking for. These are however rarely used, mainly to preserve variables which are of interest to method local anonymous inner classes. Personally in a decade …

Member Avatar for parthiban
0
369
Member Avatar for The Dude

When you turn on a radio or TV in a store or restaurant for the customers to see/hear you need to pay royalty fees. That's the case in most countries and has been for ages. That officially even extends to organising a movie session for your colleagues in the office, …

Member Avatar for lasher511
0
86
Member Avatar for hidash_in

you can't control that. If you set the mime type correctly the browser will open it whichever way it can, if you don't it will prompt you to save it. Of course if you don't use an iComputer you won't have an iBrowser either, problem solved.

Member Avatar for jwenting
0
141
Member Avatar for balagangadharm

The "search button in Google" just generates an http request to Google. That's easy to mimmick, just figure out how those request URLs are created and send one using a HttpURLConnection.

Member Avatar for jwenting
0
90
Member Avatar for degamer106

What you have here is proof that not everyone is going to play nice with "standards". Apparently Prentice Hall either miscalculated the ISBN for the book or simply don't care. btw, your code is unnecessarilly long and convoluted. The entire calculation can be handled in just a few lines of …

Member Avatar for jwenting
0
187
Member Avatar for kedarkhedkar

ISBN is a unique identifier for a publication. You could use it as a primary key, but that would only work if you don't intend to ever have more than one copy of any specific edition of any specific title. It will also not work if you consider different editions …

Member Avatar for masijade
0
115
Member Avatar for pparker

an IDE at this stage is the worst thing to use. Rather you should get to know the tools you have, editor and command line compiler and runtime. If you're incapable of getting to grips with those, it's not too late yet to change your chosen profession. And you'd better …

Member Avatar for jwenting
0
121
Member Avatar for nnobakht

if you get a headache trying to think up a class to combine the two fields and find a way to sort on that, you're bound to fail your course so you'd better give up now, why put in the effort knowing you're going to fail anyway?

Member Avatar for Ezzaral
0
186
Member Avatar for mragot

I can guess, as it's only been asked like a million times before. A few seconds using its favourite search engine should give it the answers it wants for its questions, but of course that's too much effort for it so it tries to trick people into doing its homework …

Member Avatar for jwenting
0
254
Member Avatar for balagangadharm

that's one way, but that would just map each JSP to another URL. The only real solution is to use HTTP request forwarding rather than the response redirection usually shown in tutorials (because it was once the only thing possible, and the tutorials haven't usually been thoroughly revised in a …

Member Avatar for jwenting
0
94
Member Avatar for ingunn
Member Avatar for vinutha1309
Re: Ftp

put the files on a floppy disk, print an address label, put disk in an envellope, put label on envellope, run to post office, buy stamps, put stamps on envellope, deposit envellope in mailbox, wait.

Member Avatar for jwenting
0
64
Member Avatar for JJ___

Global warming is just a lot of hot air, it doesn't exist (at least not in the way the treehuggers claim). The world economy isn't any worse overall than it has been in a long time, though there are local problems in Europe. There's never been less wars and conflict …

Member Avatar for hopalongcassidy
0
2K
Member Avatar for pawan_1983

same way you create any other list. If you don't have such a list yet it clearly indicates that you did not in fact create that server yet. So that statement was a trick to try to get someone to do your work for you and write you a client. …

Member Avatar for jwenting
0
195
Member Avatar for twomers

[QUOTE=zandiago;442805]Oh my goodness...that's carzy....not many cars can do that. Well time for me to head to the alps...[/QUOTE] hmm, weird cars you have there... I own a little Ford Fiesta with a 1.3 liter engine. It does 190kmh (which is just short of 130mph) when I put the pedal to …

Member Avatar for jasimp
0
132
Member Avatar for KimJack

[quote]I am wondering how can I create an user interface [/quote] By sitting down and trying. Waiting for someone to do it for you isn't going to work. But first do some research into what you're going to need to create that application. File handling, some user interface toolkit, maybe …

Member Avatar for mickinator
0
124
Member Avatar for christina>you

[QUOTE=Duki;438167]> The halo series is overrated. i hate you.[/QUOTE] All games are overhyped on release...

Member Avatar for Serunson
0
481
Member Avatar for blud

[QUOTE=zeroth]Well, I'll have to go along with those, however, with a mix of country and classical to round out the taste buds. I know, I'm weird...[/QUOTE] I love country. Sadly it's nigh on impossible to get here (the last country music show on radio was cancelled 20 years ago and …

Member Avatar for KIPMARTIN-Music
0
640
Member Avatar for kararu

[quote]Personally, I don't like the new "everything must use tags - no Java in JSP pages" mantra they have gone to with the latest JSP spec[/quote] why not? Clear separation of concerns is where it's at. Mixing business logic with display logic is bad as it makes for code that's …

Member Avatar for jwenting
0
194
Member Avatar for awo

the trend these days is to take whatever weight the person enters and tell them they're severely obese and need immediate treatment by the most expensive doctors they can find.

Member Avatar for jwenting
0
141
Member Avatar for awo

so you want to authenticate passwords without having the passwords stored anywhere in any way. How the heck are you going to know if the password entered is the correct one if you have nothing to compare it with? Senseless "requirements", design rejected.

Member Avatar for awo
0
125
Member Avatar for Steven_C

if you don't understand the question, don't try to answer. Array != ArrayList as you would have known had you read the documentation (but then, you tell people they shouldn't read the documentation and you clearly have followed your own advise...).

Member Avatar for jwenting
0
140
Member Avatar for jglw

tables are an anachronism in html. They're layout elements in a language that's moving away from layout to content, with the layout being provided by CSS styles. They've also been heavily abused over the ages by people who didn't know what the heck they were doing but called themselves web …

Member Avatar for Infarction
0
95
Member Avatar for hbk619

[QUOTE=Sturm;436109]I was always under the impression that web developers were laughed [URL="http://lukewelling.com/wp-content/uploads/2006/08/programmer%20hierarchy.gif"]at[/URL] by "real" programmers. (oh and whats A level math? Calculus?)[/QUOTE] The typical "web developer" is a kid who knows a bit of Javascript and CSS, and goes around calling himself "programmer" and "developer". They're laughed at for they …

Member Avatar for Ezzaral
1
182
Member Avatar for chrisw09

You can't disable that. It's a security feature to distinguish windows launched from Webstart (or applets) from windows launched from standalone applications. This was originally invented to prevent criminals from launching popups from hidden applets on websites made to look like message boxes from the browser and have people enter …

Member Avatar for chrisw09
0
116

The End.