jwenting 1,905 duckman Team Colleague

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.

jwenting 1,905 duckman Team Colleague

so do your own research and come back when you have specific questions and know what RR actually is (because we don't, or rather we know a lot of things it could be, most of which it won't be and given the level of sanity of most kids asking questions here it's impossible to make an educated guess as to which it may be).

jwenting 1,905 duckman Team Colleague

to install some sense of what the government is actually spending on things into its own staff.
They spend tax money like water as it is, not caring for the cost of things. The $10.000 cupholder story from the USAF may have been made up, but the phenomenon is real.
I've spent some time working for a government department myself (as an outside contractor) and we (all the contractors) were amazed at the terrible waste going on.
Things being bought just to get rid of money, then stored somewhere until depreciated before being disposed of. Things being thrown away that were perfectly usable, things being purchased for no reason whatsoever, purchases made to the highest bidder on the premise that the most expensive must automatically be the best, etc. etc. etc.

Just one example I heard from a coworker: late one year the organisation noted they would run a surplus of some €100.000.
To prevent their budget from being cut by that amount for the next year they ordered for €200.000 (to create a deficit and thus a budget increase...) in brand new computer equipment they didn't need.
That equipment was never put to use (not even to replace existing older equipment, as that would have defeated the purpose of the exercise (instead on the budget for the next year another several hundred thousand in identical equipment was budgetted), but stored in the original shrinkwrap and boxes in a basement.
3 years later …

jwenting 1,905 duckman Team Colleague

I've settled down to Howies Quick Screen Capture. A nifty little tool that works well, has minimal overhead, and is free.
http://www.howiesfunware.com/

jwenting 1,905 duckman Team Colleague

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 decade).

jwenting 1,905 duckman Team Colleague

by reading a beginners' tutorial.

jwenting 1,905 duckman Team Colleague

yah, the noise is there for the deaf, the light for the blind.

Anything the government "produces" (iow, makes available internally or externally in its organisations) should carry a label mentioning the exact cost in tax money of the item.
This should extend from sachets of coffee creamer in the canteen to vehicles and buildings.

jwenting 1,905 duckman Team Colleague

A nice handy help for doing network thingies from Java is Apache Commons Net (and/or Apache Commons HttpClient).

jwenting 1,905 duckman Team Colleague

maybe, but that makes them cheaper ;)

jwenting 1,905 duckman Team Colleague

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 for it.

jwenting 1,905 duckman Team Colleague

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.

jwenting 1,905 duckman Team Colleague

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. At which point the server would magically "not work" and could someone please write a new one to work with the client.

jwenting 1,905 duckman Team Colleague

You shouldn't have complicated code constructs in JSPs at all.
The most complex thing you should put in there is a loop to go through a Collection of data in order to present it, and maybe a switch statement to determine which include to load based on some parameter.

jwenting 1,905 duckman Team Colleague

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.

jwenting 1,905 duckman Team Colleague

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

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 hard to expand and maintain.
And as JSPs that are well designed (so with no Java code at all) can be maintained (at least in large part) by people in the web development shop who have no or limited Java experience that's a big bonus.

PHP invites spaghetti code and massively large single code units, just like the old (pre-JSTL) JSP spec did.
It's also far less secure than is JSP, and a lot slower.

jwenting 1,905 duckman Team Colleague

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...).

jwenting 1,905 duckman Team Colleague

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.

jwenting 1,905 duckman Team Colleague

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 designers because they could click something together in Frontpage or Dreamweaver that looks nice when presented on its own to a marketing manager.
As a result many people who actually have to maintain websites look to any use of tables with distrust, any use by inexperienced people who've not proven they know how to properly use them with extreme suspicion.

The guy made the correct decision to not hire you if you call yourself a web designer/developer yet aren't able to use current technology to do the job.
You can (and I have) lay out just about anything without the use of tables in IE.
Due to incompatibilities in Firefox and other browsers it's slightly harder to make something browser agnostic, but as a professional you should be able to do that easily too. It's your job, don't complain about it.

jwenting 1,905 duckman Team Colleague

that's why Null Pointer is such a bad name. It doesn't have that certain "ring" to it.
Remember Hunt The Wumpus? Classic computer game from the 1980s.
Not much fun at all, but the name made it interesting.

jwenting 1,905 duckman Team Colleague

Got any references for that? It'd be interesting to look into the details.

http://en.wikipedia.org/wiki/Project_Excelsior
http://www.nationalmuseum.af.mil/factsheets/factsheet.asp?id=562

jwenting 1,905 duckman Team Colleague

And to get experience take on entry level jobs doing unglamorous programming jobs.
The language and environment hardly matter at all, what matters is that you're doing it for pay, in a corporate environment under the oversight of more experienced people who can and will teach you a lot if you show yourself willing to learn and work both, and not to be an arrogant kid who thinks he knows it all because he has a piece of paper saying he knows it all.
Some advise from the trenches for the fresh graduates: the moment you get that first job you start at the bottom rung of the ladder and that diploma/degree is just so much waste paper as far as your colleagues are concerned. Most will have degrees of their own in something, all have started at the bottom of the pile. Almost none of them care one bit about your degree, unless and until you have proven yourself where it really counts, working under pressure of a deadline or with customer support breathing down your neck because the company stands to loose a few millions an hour until you get that bugfix out (yes, I've been there).
Later, when you have earned your place, there will be talk about who did what during their stay at universities and other educational institutions. But that will be social talk, relating more to who met who as a student (and if you have some real oldtimers, who had …

jwenting 1,905 duckman Team Colleague

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 sensitive information in them which is then sent back to the owners of the applet.

jwenting 1,905 duckman Team Colleague

actually, one man has managed to break the sound barrier in freefall.
He did start from rather higher than most skydivers of course, a balloon floating in the stratosphere.

This was part of a high altitude ejection test for the USAF in the 1950s or '60s.

jwenting 1,905 duckman Team Colleague

ah, but what's a "C++ game"?
You kids assume it's a game written in C++, but is it? Sounds more like a game which has C++ as the topic/storyline to me, and I don't think that would make for a good game.

jwenting 1,905 duckman Team Colleague

what happens depends on what the people making the setup script/program programmed it to do.

That's all anyone can say, as it could do anything.

jwenting 1,905 duckman Team Colleague

and?

jwenting 1,905 duckman Team Colleague

we're not your homework service. And that extends to private messages.

jwenting 1,905 duckman Team Colleague

Oh my goodness...that's carzy....not many cars can do that. Well time for me to head to the alps...

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 the metal down a gentle slope (though it takes a while to get up to that).
I don't often do so, too dangerous, but it can do it.

jwenting 1,905 duckman Team Colleague

A degree can certainly help (though it doesn't have to be a degree in computer related stuff, in fact the vast majority of people in the industry have degrees in other fields).
But the danger of a degree (the higher the degree, the more real the danger) is that the person will have an attitude of superiority to those who have no (or lower) degrees, and an unwillingness to listen to them even if they have far more experience in the field (they think they know it all BECAUSE they have a degree).
And that attitude is actually taught at universities. I've experienced it myself (one reason though not the main one I switched to another institution and went for a BSc instead of PhD in physics). At university the attitude was clear and open: we do the thinking, the BSc guys turn that thinking into ideas for machines, and the guys without degrees make those things.
The same is true for IT related studies. Many university grads with their masters degrees think they know it all, that the bachelors and people without degrees are there solely to put their brilliant ideas into code to create a working application.

Those who don't have that attitude problem and are willing to work alongside those who have less prestigious acronyms after their names but years of experience often make fine developers.
Those with that attitude problem will find themselves hated and ignored, though in their ivory towers …

Dave Sinkula commented: Another wonderful distillation. +11
jwenting 1,905 duckman Team Colleague

I'd say that it's the democrats that are supporting a withdrawl from Iraq.

I've never accused the "democrats" of being logical beings ;)

jwenting 1,905 duckman Team Colleague

which indicates that the SQL you're sending to the server is incorrect.
That's hardly surprising given the way you're working.
You have PreparedStatement to send parameterised queries, use it.

If it still doesn't work, use a database client and type in the query, see what it does.
It's however a weird driver that doesn't provide more information on an error when able than what you're getting, though if the SQL is malformed it (as I suspect) may not be able to.

jwenting 1,905 duckman Team Colleague

Or better yet, write it to have a single exit point...

static int doMath(char op,int numa, int numb) {
        int result;
        switch (op) {
            case '+':
                result = numa + numb;
                break;
            case '-':
                result = numa - numb;
                break;
            case '*':
                result = numa * numb;
                break;
            case '/':
                result = numa / numb;
                break;
            default:
                result = 0;
        }
        return result; 
   }

though I'd probably not return 0 on an invalid operator but throw an IllegalArgumentException.
Returning 0 WILL lead to hard to find bugs later, as 0 is a valid return value for any of the valid operations as well.

jwenting 1,905 duckman Team Colleague

I am wondering how can I create an user interface

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 other things as well.
Hint: Java has all of that built in...

jwenting 1,905 duckman Team Colleague

I was always under the impression that web developers were laughed at by "real" programmers. (oh and whats A level math? Calculus?)

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 aren't.
Then there's the "web designer", typically a kid who took a 3 day course to use Frontpage and Photoshop.

There are good ones, but they generally don't care about titles (as do most professional programmers worth their salary).

I've major problems with everyone going to university to learn to become a "developer". Almost to a person they end up with heads full of theory that doesn't match real world practice one bit, and utterly unwilling to accept that fact.
They sit there in their ivory towers pumping out unworkable designs and not listening to people with a decade or more of experience in doing real work in the industry because those people don't have a degree in "computer science" or something.
They also expect to become instant project managers the moment they graduate, instead of having to earn a reputation and gain experience in the trenches like the rest of us.

jwenting 1,905 duckman Team Colleague

no, the worldwide depression was caused by quite different factors.
Mostly it was caused by people taking out too many loans and using those loans to invest in the stockmarket (hint, they're doing it again...).
When some banks got into trouble (hint, they're doing it again...) those banks demanded their loans be repaid, causing panic selling.
That panic selling reinforced itself causing the stockmarkets to crash.

Increasing the amount of money in circulation to stay in relation to the production value of the economy is sound policy (if done consistently) depending on the economic system you choose for a country.

jwenting 1,905 duckman Team Colleague

we're not here to do your homework for you, and we're not going to go through hundreds of lines of code to find where your errors are located.

If you are getting compiler errors (which you should as you say it doesn't compile) solve those.
If you can't for whatever reason, post the error and relevant parts of the code only and maybe someone can help you.

Same with other problems, we're NOT going to do it all for you.

jwenting 1,905 duckman Team Colleague

I've not yet heard any reason why "java is different" from anything else, or why that would matter.

Hardly surprising, as most arguments come from people who have no clue yet have strong opinions based on personal preference or irrate hatred of Microsoft (caused in itself by jealousy above all else).

In other words, another pointless discussion about this topic (which is in itself pointless) like there have been so many in the past.

jwenting 1,905 duckman Team Colleague

lasher, I've studied enough conspiracy theories to be able to speak in their lingo. Only way to get across to people who believe in them :)

jwenting 1,905 duckman Team Colleague

well, the left has been claiming Bush would initiate a draft for Iraq since 2003...
In the meantime the only ones proposing a draft have been "democrats" in congress :)

jwenting 1,905 duckman Team Colleague

the question of course remains is whether he is a poor public speaker (which is far from uncommon, but more so in politicians) or does it deliberately in order to make his political opponents underestimate him (or a bit of both)...
I've always suspected the latter plays a part.

jwenting 1,905 duckman Team Colleague

well said. First time it was a draftdodging socialist fraudster, second time a communist agitator traitor.
Both were openly in league with enemies of the state both inside and outside the US (sadly Bush now is too, with his inaction against illegal immigrants).

jwenting 1,905 duckman Team Colleague

Yeah i agree :)

I find it hilarious that the UN made Tony Blair in charge of Middle East peace. The middle east hate him.

That could work. If they unite against the common enemy they're too busy to fight each other...

jwenting 1,905 duckman Team Colleague

There are many websites and books explaining pathfinding. Read some, try your hand at some implementations, and come back if you have specific questions that aren't centered around your unwillingness to do your own homework.

jwenting 1,905 duckman Team Colleague

you tell us. It's your homework, not ours.

jwenting 1,905 duckman Team Colleague

So that leaves: Entire World hasta Boycott Olympics! Don't Buy Chinese Exports!

That's been my motto for years :)
Maybe spammers and I do have something in common, a dislike of Chinese communists :)

jwenting 1,905 duckman Team Colleague

I have not even played it I was just telling you what I have read on websites. I have always hated that saying "get a life" it is one of the most annoying phrases devised by mankind.

It's also highly discriminatory towards our dead and undead brethren who couldn't get a life even if they wanted one.

jwenting 1,905 duckman Team Colleague

Even the first question makes no sense...
The entire thing is rigged to produce low scores, as is to be expected from something obviously produced by a leftist idiot.

jwenting 1,905 duckman Team Colleague

I doubt the Netherlands rank highly in mathematical skill among the general population.
Sure kids get high grades in school but that's because our school system is fundamentally broken and grades are doctored to keep the percentage of failing kids artificially low (schools get paid per pupil, so they don't want to get a bad rep, therefore doctor tests to keep the scores high, this goes all the way up to university level).
In the meantime 50% of students studying to become primary school teachers are incapable of doing the math from the textbooks that they're going to be teaching 5 year old children out of.

I will state, however, that from the historical evidence I've seen, anything calling itself socialist will either quickly fall apart, or have the leaders revert to something resembling a dictatorship/oligarchy in order to hold it together. Can you provide any counterexamples?

Socialism can only survive in a totalitarian environment. Anywhere else it leads to constant infighting among cliques trying to establish such an environment. It's almost a law of nature.

jwenting 1,905 duckman Team Colleague

his "concept of the abstract class" is flawed if he believes it's what lies at the heart of interfaces...

jwenting 1,905 duckman Team Colleague

he says he wants to calculate the discount RATE, then goes on and produces code which seems to be a failed attempt to calculate the actual discount based on that rate...

And when confronted with that he gets agressive?