jwenting 1,905 duckman Team Colleague

What is the actual error the JSP compiler reports?
It will tell you what's going on, the bit you posted is just telling that there was an error...

Remember that your system classpath is NOT the classpath for a web application (or for Tomcat itself).
A webapp classpath consists of the content of the WEB-INF/classes directory and the jarfiles in the WEB-INF/lib directory belonging to that webapp.

jwenting 1,905 duckman Team Colleague

The actual language matters less than that you get the best possible training.
A LOT (probably the majority) of people starting out get terrible training and either give up or turn into a liability for future colleagues.

jwenting 1,905 duckman Team Colleague

doesn't matter. As long as junit.jar and the test classes both are on your classpath they'll be found.

jwenting 1,905 duckman Team Colleague

J2EE is an extremely large subject. No one book is going to tell you all of it, certainly not in enough depth to be of any real use at all.

So start with defining what area of J2EE you're interested in and maybe some useful titles can be provided to you.

jwenting 1,905 duckman Team Colleague

what you do with plans is you implement them.

jwenting 1,905 duckman Team Colleague

it may look "cool", but looks don't make the instrument...
Anyone with half a creative brain and the right tools can take a bandsaw to a slab of wood and carve out a nice looking guitar body for an electric guitar.

It's what comes after that that's the hard part. Building the neck, fitting the bridge, pickups, other electronics, tuning mechanism, fitting the neck, etc. etc.

That takes practice, and you'll likely ruin some bodies before you've got the way of it.

As to woods, you don't want a single wood. Especially the neck is created of multiple laminated layers of different woods, all in exactly the right thickness and place, in order to create just the right characteristics for each instrument as the maker intended.
Another thing that requires a lot of study and experience to get right (or just buy a complete neck to match your tastes).

For the body of an electric guitar, it hardly matters what you make it out of as long as it's stiff enough to not bulge or break when you tension the strings (and there's a LOT of force on those strings).
People have made guitars out of plastic, glass, metal, and pretty much any reasonably hard wood out there.

jwenting 1,905 duckman Team Colleague

Sure there are books to teach you the skills, but without a lot of experience you're not going to make a decent instrument.
Electrics are easier than acoustics, as the main body has only a decorative function (and serves as something to hold on to and bolt the electronics and neck to) so can basically be any shape, size, and material, but that doesn't make it easy.

Master instrument builders are rare and apprenticeship takes years.
When doing it on your own expect to take years too, never mind the title of a book telling you "how to make a guitar in 21 days".

You'll need to be a master carpenter, master woodworker, master instrument maker, decent guitarist (to determine the correct sound and tuning), master painter (to evenly apply the many layers of varnish), etc. etc. all at the same time.

While an interesting idea to do, and I don't want to keep you from trying, don't expect your first (or indeed first several dozen) attempts to be more than so much wasted material.
If you were an apprentice to a master builder, you'd probably spend a year just sanding body parts so don't expect to pick up all the skills in a few hours or days...
And do realise that you're going to need some pretty expensive equipment. A hammer and saw aren't enough, think of a quality lathe and other equipment.

jwenting 1,905 duckman Team Colleague

that's not always enough. Special stuff is needed, which is only added by installer creators designed for Visual Studio 2005.

jwenting 1,905 duckman Team Colleague

Tuition in Germany isn't free, certainly not for foreigners.

German citizens may get sharply reduced fees, maybe even free education (except for books, etc.), but that's not really free as it's paid for out of astronomically high income taxes (like in many other EU countries) their parents (and maybe they themselves) pay.

jwenting 1,905 duckman Team Colleague

he's related to crows and magpies, attracted to shiny stuff :)

Give me Barsoom.

jwenting 1,905 duckman Team Colleague

if you don't get a response, that doesn't mean it isn't being read and acted upon.
PMs like that will likely be read and acted upon, but you won't get a response telling you so.
PMs asking for personal help or other favours will however be discarded.

jwenting 1,905 duckman Team Colleague

Do you think that if you own a domain that someone else wants because its their companies or products name you should just give it to them at a normal price?

Domain squatters don't just happen to own names, they deliberately register names in order to squeeze money out of others.
If I have a name registered and some years later a company with a similar name comes up and makes me an offer too good to refuse, I take them up on it.

That's not domain squatting, it's normal business, and I'd expect to be compensated for the cost of rebranding my business and possible loss of business because of it.

But I'm not going to buy a thousand domain names that companies just might want to use at some point in the future, put up a "this domain is for sale" notice, and start browsing through the yellow pages looking for companies to extort money from with threats to sell the domain to a child porn distributor.

jwenting 1,905 duckman Team Colleague

It is the correct number. Remember most things in Java are zero based :)

jwenting 1,905 duckman Team Colleague

That's not valid XML, you have more than one root element in the file.
Apart from that, it looks a lot better.

To fix it, create a new document root containing all the Order elements, something like "Orders".

You may want to change all tag names to lower case too. While not required it is convention to use only lowercase tag and attribute names.

jwenting 1,905 duckman Team Colleague

that's not a probably, that's a MUST.
There's no guarantee the fields from an XML file will reach your code in the same order in which they exist in that file, so to prevent things from getting messed up along the way they must be grouped in a logical and correct hierarchy.

jwenting 1,905 duckman Team Colleague

can't type here what I can't type or I would be able to type it... :)

jwenting 1,905 duckman Team Colleague

They're not. Poor coverage, not enough depth by far, that's the hallmark of the entire series.
While they can help get someone interested or started, they give the impression of being more complete than they are, leading many people to think they've a good level of knowledge when really they don't.
With many of the topics covered by these books that's dangerous (for themselves and often others).

jwenting 1,905 duckman Team Colleague

no need to crosspost. Other version moved to html forum as this is an html question.

jwenting 1,905 duckman Team Colleague

poor choice of tag names, and I'd put the delivery information in its own container structure.
What you call "description" is really a pizza.

jwenting 1,905 duckman Team Colleague

holding companies hostage until they pay millions for a domain however is becoming ever more common.
More than one case had domain squatters threaten to sell a domain name similar to the name of a company or organisation to a porn site or hate group unless the target company coughed up the cash.
Such practices are becoming ever more common, and make the lowlifes that domain squatters are even less worthy of living.

jwenting 1,905 duckman Team Colleague

domain squatting and domain hijacking are despicable and often criminal activities.
Anyone involved in them should (and often is) sued to hell and back and ordered to hand over the good while paying compensation to the people they tried to defraud.

jwenting 1,905 duckman Team Colleague

XMLSpy is crap. Overly intrusive, way too complex.
You need nothing more than a decent text editor to write XML, or something like Calisto if you insist on an editor that has highlighting and stuff.

jwenting 1,905 duckman Team Colleague

The same people who now scream "Global warming disaster, the icecaps are melting and everyone will die!!!!!!!" 20 years ago screamed "global cooling disaster, we're heading straight for a new ice age!!!!!!!".

Fact: the climate has seen far greater and faster changes than we see now in the past when there were no humans at all.
Fact: the predicted changes by the alarmists are smaller than the margin of error in the calculations used.
Fact: Without "global warming" and "greenhouse effect" we'd be in deep freeze, with the earth averaging -15C instead of +15C.
Fact: CO2 (the Holy Grail of climate alarmists) has a negligable influence on temperature levels.
Fact: Russian climatologists, using data gathered in Siberia, are now predicting a mini ice age within the next 50 years, with severe temperature drops for at least several decades after that.
Fact: During the last ice age atmospheric CO2 levels were several times higher than they are now.
Fact: The earth now has large desert areas which are growing. This is historically (from fossil evidence we know this) a precursor to an ice age.
Fact: We're in an unstable climate era, in the latter part of an interglacial. During such eras the climate will often fluctuate rapidly and unpredictably.

jwenting 1,905 duckman Team Colleague

Correct. Anything that says "in 21 days", "in 24 hours", or similar things in the title (and most books saying "mastering") are to be avoided like the plague.
They "teach" poor practice, incomplete skills, and no long term retention, leaving the reader just dangerous enough to royally mess up a job.

jwenting 1,905 duckman Team Colleague

if the DrawingTool class draws with the forward() method it might...
I've never heard of that class so it's hard to tell.

jwenting 1,905 duckman Team Colleague

Well, you will need that class... It's not going to appear out of thin air, so you will have to write it (though I presume this is part of some example, which means it will be there somewhere else in the example).

jwenting 1,905 duckman Team Colleague

There is no Turbo C 3, but there is a Turbo C++ 3...
There are still BGI tutorials floating around the net, and maybe some books in used book sales stuffing up old basement collections.
Pretty useless these days, I'd not spend any time on it.

jwenting 1,905 duckman Team Colleague

It was shown (or parts thereof) on TV in several countries. The more gore the better for the press as gore equals viewers equals advertising income.

The reason it's not shown more is mainly the very poor quality and the fact that many stations don't want to "offend" muslims and therefore will show nothing negative about them (and some muslims don't like the fact that Saddam was hanged on one of their holy days).

jwenting 1,905 duckman Team Colleague

That's one way. Another way is phone polls.
Interviewers phone a number of people, asking them what they've got on TV, and extrapolate from that.
In the past they used to send out questionaires for people to fill out, asking them to keep track themselves and send in a piece of paper once in a while.

Like all polls, these things are only as good as the people ordering them. If they want to show something, the poll can always be designed to show it...

jwenting 1,905 duckman Team Colleague

what about a book? They often contain a surprising amount of information.
Or a search engine, but those can be tricky as they often lead to weird and not always wonderful things.

jwenting 1,905 duckman Team Colleague

hmm, the last version of the Win32 API I used didn't allow for a transparent button background. But it didn't allow for pictures as backgrounds to windows either.

Of course that's the WinNT4 API, which is rather old :)

jwenting 1,905 duckman Team Colleague

And we're not going to do the homework for lazy kids who can't even be bothered to try and hide that it's homework nor try to come up with a title that's even remotely descriptive.

We WANT such kids to fail so they won't bother us as potential colleagues later.

Salem commented: Works for me :) - Salem +5
jwenting 1,905 duckman Team Colleague

no, I'm not going to tell you how to do that as you shouldn't.
Call it from a servlet and send the results to the JSP.

jwenting 1,905 duckman Team Colleague

1) use code tags
2) don't put Java code in JSPs, they're meant ONLY for displaying results

jwenting 1,905 duckman Team Colleague

As long as the compiler complains, you're doing something wrong.
If it no longer complains, you MAY be doing something right.

jwenting 1,905 duckman Team Colleague

unless of course you #include "im133e7hax0r.h" :)

jwenting 1,905 duckman Team Colleague

of course it MIGHT ensue. If so it will go unnoticed in the violence already going on.
More likely though it will lead to more stability in Iraq as the Baathists have lost their main icon and will start to loose their will to fight.

Saddam was never a friend of the US, sharky. It was a simple case of "the enemy of my enemy", and Saddam was that when he was fighting the Ayatollahs.
Same as Stalin who got help from the US and UK against Germany, that too was no labour of love on the part of the US but simple politics.

jwenting 1,905 duckman Team Colleague

But you can NOT run it from just any web hosting account.
You'll need something quite a bit more comprehensive, as your average webhosting account does NOT permit you to run anything outside the webserver (and often only flat html files, no serverside code at all) and no additional services (or only a limited list provided and controlled by the hosting provider.

jwenting 1,905 duckman Team Colleague

More properly it should be called WYSIWYDG (what you see is what you don't get) as pretty much all those tools make a complete mess of things.

jwenting 1,905 duckman Team Colleague

no, it's definitely NOT perfectly legal to crack or otherwise bypass copy protection systems (like CD checks).
At the very least it's a breach of contract.

Tough luck, pirate wannabe. I've heard ALL the excuses, they all come down to a kid not wanting to buy a game, and the CD check detecting that the copy or burned CD image isn't the real thing.

jwenting 1,905 duckman Team Colleague

Also try Michelle Malkin.
Hardhitting, goodlooking, and rightthinking, what more can you want?

jwenting 1,905 duckman Team Colleague

and learn to read compiler errors...
They tell you (usually) where and what the problem is.

jwenting 1,905 duckman Team Colleague

I've also seen 10+ year old software in use in even large (multinational large) companies...
So it's pretty likely that BC 4.5 is in use somewhere to this day, in a similar niche market as your market for DevC...
But with free and cheap versions of major implementations (Borland and Microsoft both for example) being available for commercial use now that's likely to change (though there's a lot more market for BC 4.5 out there than DevC as it can do DOS and 16 bit Windows development, which are handy for things like PLCs).

jwenting 1,905 duckman Team Colleague

If that's part of a JSP, never look at that example again.
That sort of code (or indeed ANY code) does NOT belong in a JSP.
Nor should anyone, ever, directly reference any of the classes in the com.sun packages.
This code references a connection pool provided by an application server.
The application server itself will hold the actual database configuration, including database URL, username, password, driverclass, etc. etc..

jwenting 1,905 duckman Team Colleague

Anyone who so pisses off the left must be good :)

jwenting 1,905 duckman Team Colleague

In fact & and | aren't strictly logical comparison operators at all.
They're logical mathematical operators. So instead of performing a comparison you're performing a mathematical operation if you use them, and evaluating the result of that operation.

jwenting 1,905 duckman Team Colleague

That's not a switch at all, it's just a massive if-else statement pushed into a method (not a bad idea per se) that you called "switch".

jwenting 1,905 duckman Team Colleague

In fact, almost any attempt to crack passwords is a criminal offense, so you're almost certainly asking us to help you commit a crime, which is also a criminal offense.

jwenting 1,905 duckman Team Colleague

and no company uses Dev-C either.

jwenting 1,905 duckman Team Colleague

There are many libraries that will do all the hard work for you, requiring just a stream of bytes as input and producing a stream of bytes as output on the other end.

But you can indeed do it all yourself, by taking each byte, pulling it apart into bits, and pumping it over the connection like you did that single blip.