jwenting 1,905 duckman Team Colleague

nope. It was all that needed to be said.

jwenting 1,905 duckman Team Colleague

so the lazy idiot kid has fallen into the normal pattern of the homework kiddo and started getting abusive.
How surprising, NOT.

You're going to make a lot of friends with that attitude, kiddo. It's really going to help you bully your way into friendships.

jwenting 1,905 duckman Team Colleague

in other words you want to steal someone's code and turn it in as your own for some school project.

No candy for you, cheater.

jwenting 1,905 duckman Team Colleague

low population density led to no pressure for large fixed settlements, which usually are focal points for the development of science and technology.
easy availability of food and other resources meant no pressure to develop such technology to help with things like farming and mining.
long distances meant no large scale warfare, therefore no need to develop effective weapons or defense against them.

The same can be seen in the Amazonian rainforest or Pacific islands even today. Tribes there have no or almost no contact with the outside world, and all the resources they need to survive in (relatively) easy reach so there's no incentive to develop technology.
High incidence of disease causes high mortality rates so the population remains stable (same with the American Indians), so there's no population pressure either to drive the development of technology to increase farm production or hunting efficiency.

Once horses and firearms were introduced into the Americas the Indians were quick to adopt both and start slaughtering each other (and settlers) with a verocity worse than seen anywhere else except maybe during the conquest of China by the emperor of Chin.

jwenting 1,905 duckman Team Colleague

don't.

jwenting 1,905 duckman Team Colleague

idiot kid is too lazy to do its own homework and wants us to do it for it.
That and/or it's utterly incapable of understanding what it's being told.
I vote for both of those at the same time.

jwenting 1,905 duckman Team Colleague

well, quite obviously there's something wrong with your code that causes your braces to NOT line up correctly.
So fix your code.

jwenting 1,905 duckman Team Colleague

and it still needs to learn to write proper English...

jwenting 1,905 duckman Team Colleague

that time of month again, when the next batch of lazy idiot kids comes in and floods forums with requests for people to think up their "final year project idea"?

Show some initiative, think for yourself. Or at the very least search here and elsewhere where other lazy idiot kids before you have asked the exact same question thousands of times to the great annoyance of people who do have a working brain.

jwenting 1,905 duckman Team Colleague

there are tons of books out there, and Oracle runs a very good education department where you can get professional training.

jwenting 1,905 duckman Team Colleague

now analyse what you wrote and translate it into correct English.
When you've done that come back and try again. What you wrote there is impossible to comprehend.

jwenting 1,905 duckman Team Colleague

infarction, techbound, this entity doesn't want to study for its degree.
She doesn't even care what degree it is, as long as it's a degree.
She wants a scam operation where he can buy a piece of paper saying she has a degree, in the hope that will trick potential employers into giving her more senior jobs than her 20 years as a strike leader will do.
As it is, I'd not hire her for any reason based on that union boss status alone. Classes her as a troublemaker, a liability who isn't motivated to work, only to leech the company until it goes under.

jwenting 1,905 duckman Team Colleague

or his wife took his internet away :)

jwenting 1,905 duckman Team Colleague

had you gotten that degree instead of harassing people with degrees and worthwhile jobs in your capacity as a union person you'd not have been in the situation where you are now.
Your fault, your choice.
Don't expect us to show you any diploma mills where you can buy a degree for a few hundred dollars and no effort.
If you have what it takes to really put in the effort to learn the stuff needed for that degree, you also have what it takes to find a reputable educational institution to provide you with the tutoring and have you sit your exams.

jwenting 1,905 duckman Team Colleague

the length of blocks of commercials is limite here by law, but channels find ways around those laws.
They just interrupt the commercials with "announcements" for their upcoming programs, which for the law ends the commercial block.
So we still get 5 minute commercial blocks every 10 minutes or so, extremely annoying.

Luckily it's not as bad as it was when the commercial channels started. At that time a 90 minute movie could have so many and lengthy commercial blocks in it that it could last up to 5 hours.

jwenting 1,905 duckman Team Colleague

This is what I get now :(

'Exception in thread "main" java.lang.ClassCastException: AQueue cannot be cast to java.util.ArrayList'

I can cast it to FIFO, which is my interface, and retrieve it to a FIFO type object, but this won't give me all the methods I need :(

Too bad. You can's cast something to something it isn't, period.

jwenting 1,905 duckman Team Colleague

you really think that insulting people who try to help you is going to make them more likely to do your homework for you?
If so, think again...

Or don't you think at all before posting such crap?

jwenting 1,905 duckman Team Colleague

if you programmed it correctly it won't be "going all over the place" but following a highly predictable path dictated by it's starting position and energy vector.
So you change those and it will follow whatever path you want it to if.

jwenting 1,905 duckman Team Colleague

you refuse to get the mesage, do you?
Do NOT revive old threads to post your own gibberish that supposedly are questions.
Start your own threads instead and post something that people can actually understand without having to spend half an hour guessing what the heck you're writing.

jwenting 1,905 duckman Team Colleague

even Bablefish would do a better job of translating from your lingo into English than you do.
Its output is at least syntactically correct.

jwenting 1,905 duckman Team Colleague

hmm, then why does 90% of the audience switch channels during commercial breaks or for example browse the web (like I'm doing now)?

jwenting 1,905 duckman Team Colleague

I know English isn't your native language, but a lot of your posts are impossible to decipher

Not that they'd probably be worth reading even if they were decipherable...

jwenting 1,905 duckman Team Colleague

anything's an API.
A method call constitutes using an API.
Defining a method constitutes creating an API.

So effectively he's saying he's to write something while using no methods, no classes, no nothing except basic math on primitives.

Of course, as you say, he's not going to succeed in that unless he's a mathematician.
But then, anyone who's seriously given such a homework assignment would be a student of mathematics.

Most likely the kiddo just didn't understand his assignment (or simply didn't read it at all) and wants us to do its homework for it like so many others of its kind.
It's in character, posting a single vague message and never getting back. Though it's not as much fun as many, who would come back and start spewing abuse at people telling them to do their own homework ;)

jwenting 1,905 duckman Team Colleague

"I was sick the day on our review for this programming assignment so I am in kind of a dillema with a jerk for a professor..."

Bad attitude. You're "professor" (more likely a highschool teacher if that) is no jerk. You're mistaken if you think he's going to allow you to fall behind on your studies and give you full marks for homework not done and material not studied just because you had a headache the night before.

jwenting 1,905 duckman Team Colleague

the "petition" doesn't "grab me", the foolishness of people believing in such things does.
And their insistence I join them in their foolishness, their attempts to make me feel guilty for knowing better and not giving my money (and other resources) to "charities" that I know are completely pointless, either wasting those resources on things that make no difference or squandering it on luxury vacations for their own staff (of course masked as "fact finding trips", "conferences", etc. in places like Cancun, Rio de Janeiro, Bali).

jwenting 1,905 duckman Team Colleague

the only thing I'm horrified about is the extremely poor quality advertising that money bought.
Makes you wonder what's going on in the advertising industry that they're producing such extremely annoying and ineffective commercials even given such massive budgets.

jwenting 1,905 duckman Team Colleague

no.

jwenting 1,905 duckman Team Colleague

Way too many people will sign anything as long as it's portrayed as being "for charity" or some other feelgood "ideal".
That includes a great many otherwise logical, intelligent, people.

jwenting 1,905 duckman Team Colleague

Altruism at work eh JW? Sometimes people may do the right thing for the wrong reason, but does that make it the wrong thing to do or does it remain the right thing to do? Who knows!

no. It's not altruism at all.
It's a smoke screen by people to mask their real target, which is increasing their own power over others by limiting the freedom of the general population.

if you're as gullible as you appear to be, please send me all your money for the rest of your life and I'll make sure it's well spent for the benefit of poorly treated natives.

jwenting 1,905 duckman Team Colleague

anyway, thou complain too loudly that thou are not creating anything illegal ;)

jwenting 1,905 duckman Team Colleague

he'd still be using an API...
In fact he'd be using one if he wrote his own generator as well, he'd be using his own :)

jwenting 1,905 duckman Team Colleague

only the people who made it.

jwenting 1,905 duckman Team Colleague

I care about animals, but not about "petitions", let alone "online petitions".
And I am EXTREMELY wary of anyone saying they're doing something "for the children", "for the animals", "for the environment", etc. etc. especially if they use it as an excuse to limit my freedom or that of others and increase their own power and/or wealth.

jwenting 1,905 duckman Team Colleague

there is another option, and that is that some servlet of JSF is mapped to the URI "index.jsp" and is unavailable for some reason.
Most likely that would however be because it fails to load or run and lead to a deployment error or a 500 series error.
Check the application and server logs...

jwenting 1,905 duckman Team Colleague

no, we don't help little whining kids who insist on doing bad things like putting Java code inside JSP.
If you want to access a database, use a servlet.

jwenting 1,905 duckman Team Colleague

if you're really spent 2 days searching for an answer to this and haven't found it you're extremely incompetent.
This question must have been asked by kids who don't know what they're doing, how to set a classpath, and how to READ MANUALS a million times.

IOW, Read The F***ing Manual and actually learn Java before you attempt to do things more complicated than printing "Hello World" on the console.

kmv commented: Why waste your time actually criticizing someone for asking a question? +0
jwenting 1,905 duckman Team Colleague

references are NOT pointers. Don't give bad advice.

jwenting 1,905 duckman Team Colleague

You could use the time in millis and take the last digit:
System.currentMillis(); if I remember correct the method.

that would be using "any API".
In fact the mere act of creating a class has you using "any API".

jwenting 1,905 duckman Team Colleague

should work in exactly the same way. There's no difference in the way they're to be addressed.

Of course you may well have to deal with firewalls.

jwenting 1,905 duckman Team Colleague

idiot. The answer has already been given and it's not what you say (as usual, you're wrong in everything you say).

jwenting 1,905 duckman Team Colleague

says it all. Either your index.jsp isn't where it should be, OR you have the URL wrong.

jwenting 1,905 duckman Team Colleague

idiot. Sessions do NOT get shared between applications.

jwenting 1,905 duckman Team Colleague

idiot. DO NOT USE JAVA CODE IN JSP!

jwenting 1,905 duckman Team Colleague

whiskey does, it takes on flavours from the cask it's stored in and sometimes the air outside it.
Of course with whiskey ever more being stored in large steel vats rather than oak casks that effect is often lost.

jwenting 1,905 duckman Team Colleague

dude, sorry to break this to you, but the chinese dont really give a shit what people say, espeically on the internet.

And rightly so, when it comes to "online petitions".
Those are utterly pointless, impossible to check uniqueness of signees, etc. etc.

Same as paper petitions but worse.
I still remember when the "peace movement" here in the 1980s got a huge bloody nose when they organised a petition against nuclear weapons.
The massive number of cards presented turned out to be mostly signed by non-existent people, using names of pets, small children, etc..
Turned out not only had members done this to bulk up the response but the organisation themselves had employed people to sign cards by the thousands.

With online "petitions" it's even worse. Now you have idiots from all over the world do it in relation to issues that are completely irrelevant to them.

jwenting 1,905 duckman Team Colleague

so?
You don't need scriptlets for that.

jwenting 1,905 duckman Team Colleague

have you even bothered to read the entire thread?
Probably not, as you'd have learned not to do what you suggested.

jwenting 1,905 duckman Team Colleague

redirect works, forward won't work.

But of course the HTTP session does NOT get shared.
And quite possibly you'll need to make sure you're working with POST requests so and change the request parameters to request attributes.

Remember that nothing except what ends up in the http request gets send across.

jwenting 1,905 duckman Team Colleague

"it doesn't work" isn't going to cut it.
You'll need to tell us WHAT doesn't work, and why.

jwenting 1,905 duckman Team Colleague

I'd get that "supervisor" fired instead for violating the law as well as company policy...