jwenting 1,905 duckman Team Colleague

1) Apache SOAP is deprecated. Use Axis instead.
2) What's not clear about that message? It's pretty obvious that you're using the wrong request protocol.

jwenting 1,905 duckman Team Colleague

this has nothing to do with JSP, or if you put that code in a JSP your understanding of how JSP works is so seriously flawed you should get yourself a beginner's tutorial and start from scratch.

jwenting 1,905 duckman Team Colleague

1) that's not urgent, not at all. I've not seen that requirement in a long time, and last I saw it it which was several years ago it was withdrawn.
2) read up on your HTML specifications. What you want isn't supported by HTML so you won't be able to implement it.
3) it's extremely rude to scream that you need "help urgent". It assumes you're much more important than anyone else and everyone should drop what they're doing just to please you.

jwenting 1,905 duckman Team Colleague

Oh no, not another kid who can't think for themselves.
Whatever happened to originality and coming up with your own ideas?
Why not just ask people to post a complete project plan with full implementation right away so you don't have to bother posting other questions after you get someone give you an idea for a project asking to first create a project plan for you and than to create the code?
After all, you know as well as I do that that's what you're going to do next.

jwenting 1,905 duckman Team Colleague

not. JSP is run on the server, Javascript on the client.

I wish people could get it into their heads that JSPs do NEVER run on the client.

jwenting 1,905 duckman Team Colleague

There is no "best", at best there might be a "best" for some specific purpose.

I constantly wonder why people can't get that simple fact into their brains (or what passes for one).

jwenting 1,905 duckman Team Colleague

Kids, do your own homework.

Someone already posted a complete working solution (a really stupid thing to do as now people don't have to think anymore), and you still can't get it?

jwenting 1,905 duckman Team Colleague

A lottery ticket always states that the price goes to the person presenting the ticket.
If you throw your ticket away, tough luck.
If someone else finds it, it's his lucky day.

IF the decision had been different, the lottery organiser would from then on have the legal obligation to find every single winner of every single prize no matter how small in order to present them said prize.
After all, now prizes unclaimed go back to the organiser, so effectively they're cashing in the lost and forgotten tickets.

IF the tickets are made out to name and address, it's a different story (unless they still say they're to be paid out to holder).
In that case the organiser does have a way to track down their winners and make sure they get their prizes. But such lotteries are relatively rare (there are some though, but there you generally don't get a ticket because you pay by automatic bank draft and the prizes are returned to that same bank account).

jwenting 1,905 duckman Team Colleague

Best current free compiler/editor for Windows is Microsoft Visual C++ Express linked with the Windows 2003 Platform SDK.

http://msdn.microsoft.com/vstudio/express/visualc/

More standards compliant than older (free) compilers, which is about all that counts for people learning to program.
And if you're using it commercially you might as well pay a bit for a current Intel or Borland compiler (or a more advanced version of Visual Studio).

Grunt commented: I kindoff agree [Grunt] +1
jwenting 1,905 duckman Team Colleague

and remember your teacher goes slow for a very good reason: going fast will make most people miss important things, and that includes you.

You may jump ahead only to find out later you've forgotten over half of what you were supposed to have learned.
Learning is all about long term memory retention, not short term cramming for some test or exam.

jwenting 1,905 duckman Team Colleague

Sounds rather simple.
Start with a piece of paper and write down what each class is and what it's supposed to do.
Translate that into fields and methods for each class.

That's your initial design, and you make it on paper with a pencil for a very good reason: it prevents you from being tempted to dive right into the code and start hacking.

When programming, always start thinking before you start typing. That will solve over half the problems many (especially inexperienced) programmers experience.

jwenting 1,905 duckman Team Colleague

What problems did you have with mySQL?
Unless they had to do with mySQL itself rather than the way you're using it you will almost certainly have the same problems with any database system.

You access MS Access in the same way you access mySQL after all, or any other database engine out there, using JDBC (most optimally hidden behind some indirection layer).

jwenting 1,905 duckman Team Colleague

if you need help at this early a stage you lack the basic skills needed to create such a system.
Tell that to your employer/customer so they can hire someone who CAN do the job instead of being stuck with you.

And if it's that urgent at this stage in the process you either waited far too long to get started or accepted a way too tight deadline.

In all it sounds to me like just another "do my homework for me" demand from some schoolkid.

jwenting 1,905 duckman Team Colleague

You should be with your nose in your books rather than surfing the web.

jwenting 1,905 duckman Team Colleague

OP's language skills are poor enough that he's unlikely to understand his textbooks...

So a course in elementary English would be first called for before trying to tackle human-computer interface theory.

jwenting 1,905 duckman Team Colleague

not enough actual parameters

jwenting 1,905 duckman Team Colleague

well, the page must be there...

jwenting 1,905 duckman Team Colleague

I've this great idea for helping people in severe drought situations.
Instant water, just add water.

jwenting 1,905 duckman Team Colleague

how much of that 6GB did you aqcuire legally?
And how many CDs does that make?

I've over 600 audio CDs, several dozen DVDs, and several dozen vinyl albums (left from about 300, most of them replaced with CDs long ago to spare the needle on my precious record player, which is by now almost impossible to replace).
Yes, I'm somewhat of a music lover, but not at all the type of music a geek is supposed to like.
I'm more into folk and country music, going into classical (from Bach to Strauss).

jwenting 1,905 duckman Team Colleague

not. That's not what StringTokenizer (which you should preferentially not use anyway, see the Javadoc) was designed for.

jwenting 1,905 duckman Team Colleague

don't do that kind of stuff in a JSP. Use a proper application architecture, JSPs should be used for display only and NEVER use scriptlets.

jwenting 1,905 duckman Team Colleague

1) there is a dedicated JSP forum
2) you shouldn't do that inside the JSP, but in a servlet or EJB
3) we're not here to do your work for you. We may give hints and help out but you have to do it yourself
4) we're not being paid here, so it's not up to you to tell us when to help you.
5) without knowing the exact system you're working with noone could write your code for you even if they were so inclined. There are hundreds of plausible implementations of security systems you'd have to interface with, each with thousands of actual variants.

jwenting 1,905 duckman Team Colleague

You're not going to get a JSP to create a chart, that's not what they're there for.
JFreeChart contains examples, use them, they're quite good.

jwenting 1,905 duckman Team Colleague

as a freelancer you'll never get a job without experience in your chosen field.
So do some projects on your own expense first to learn, then maybe try for joining some open source venture as a contributor, and then you might consider trying to state you know JSP on your resume when you submit it.

I seriously doubt you have any decent experience in the technologies you mention without having used JSP, as they're intricately linked.
You either need to lie more convincingly or start telling the actual truth. The latter will be better for your career in the long run as people aren't going to hire you to do something you can't and remember you as an incompetent person they'll tell all their colleagues and friends to avoid.

jwenting 1,905 duckman Team Colleague

try "123456", it's the same as president's Skroob's combination on his luggage.

jwenting 1,905 duckman Team Colleague

no, it's the cast you're doing. You don't need that if you properly use generics.

jwenting 1,905 duckman Team Colleague

Collections is a class inside java.util, so it's imported.

The problem is that he declared his List as List<Object> and Object doesn't implement Comparable.
As a result Collections.sort(Collection<T implements Comparable>) isn't going to work because it's being passed a Collection which is not of type Collection<T implements Comparable>.
Had he declared his List as he should have, List<Item> = new LinkedList<Item> it would have compiled correctly and he'd have the typesafety of generics at the same time instead of just a dirty hack to prevent compiler warnings.

jwenting 1,905 duckman Team Colleague

What is the EXACT type of your list?

According to the API specs the elements of the List should all be the same type and all must implement Comparable.
If that's not the case you can indeed get that error, as you're passing it an argument that doesn't conform to the specification.

jwenting 1,905 duckman Team Colleague

I use a piece of paper.
What I draw on there is then transferred to whatever user interface library is needed.

And yes, Swing is plenty good enough if you take the time to learn to use it (most complaints about it are from people who don't bother to try and understand it).

jwenting 1,905 duckman Team Colleague

yup, cliche.
Both the question and the (rather obvious) answer have been posted too many times to count and as usual the person asking the question can't be bothered to do his own research towards finding that answer.

jwenting 1,905 duckman Team Colleague

You seem to have no concept of English at all yet think you're perfectly capable of reading it and judging others in their skills.

Go back to school little kiddie, and pay attention in classes for a change instead of looking under the skirts of the girls in front of you.

jwenting 1,905 duckman Team Colleague

Why does everyone ALWAYS want to write a chat program? I don't get it.

Because it's KEWL MAN! Soon every KEWL kid will be using your chat program rather than Micro$haft messenger (or however the kids call it these days).

jwenting 1,905 duckman Team Colleague

if you're a third year student at any level higher than kindergarten your command of English should be a LOT better than it appears to be.
You should also know full well that you're supposed to do your own homework and not turn in something created by others as your own.
You should above all know how to do your own research into subjects rather than just post a question to some random forums and go to the movies in the hope that someone will do it all for you and hand you the results on a golden platter.

jwenting 1,905 duckman Team Colleague

Oh yes, best game ever with the possible exception of Diablo II.
One of the few games I actually had to buy again because the CD was worn out (seriously!).

Still play it once in a while. With both official expansion packs of course.

First and one of the few times I was ever actively involved in a clan, drove for 10 hours once to attend an all-weekend LAN party (never done that again).

Sadly the online community seems to have been completely taken over by the gamespy spyware consortium, making downloading units and maps nearly impossible.

jwenting 1,905 duckman Team Colleague

"What i've been hearing lately that if you want to become a Software Engineer, you have to get a B.S. in Computer Science"

hmm, never noticed that. 90% of the people I've worked with over the past 10 years (and about 95% of those who were any good to work with) didn't have a computer related degree at all.
Mathematicians, physicists, chemists, biologists, ex-teachers, a butcher, but hardly any computer related degrees.

In fact the people with computer related degrees I met more often than not were completely useless. They thought they knew everything but in fact were so narrowminded that what they produced more often than not was worse than useless.
Beautiful theoretically perfect designs that were impossible to implement while retaining any performance, overly complex solutions that would never work (and certainly not be done within budget), pompous attitudes towards everyone else because only they with their degrees could possibly know, etc. etc.

'Stein commented: Very well said. Congrats :) -'Stein +3
jwenting 1,905 duckman Team Colleague

Quite possible. You may want some 3rd party libraries to make it easier, but those are all Java as well so you could if you really wanted to write them yourself.

HSQLDb, Hibernate, maybe Spring (might be overkill, but it's a good skill to pick up as it's very good and widely used).
Most examples for Spring use web applications but that's because that's where the money is for book authors ;)

You might consider JNLP for distribution.

In fact the Sun Certified Developer for the Java 2 platform Standard Edition certification exam consists of writing a complete database application (including the database server) from scratch in Java ;)

jwenting 1,905 duckman Team Colleague

'hai' is Japanese for 'yes', and has no place in the sentences you used it in.
I'm not your friend.
'plz' is not a word in any language I'm aware of (and I know quite a few well enough to recognise them).
'begginer' is similarly a nonexistent word.
So is 'u' b.t.w.
html headers don't exist.

But in case you're looking for HTTP headers, they're just Strings you can get from the HTTP request as it comes in.
There are some packages which nicely parse them for you, but you can also just intercepts the raw data as it comes in to the network connection on your machine and look at it there.

jwenting 1,905 duckman Team Colleague

even easier than that, if you know how to use a commandprompt properly you can simply create a startup script that will not launch a persistent commandwindow of any kind.

Of course that will not make your application impossible to detect, a requirement for spyware and other malware, and one we're not going to help you achieve.

jwenting 1,905 duckman Team Colleague

10 years ago (or possibly more) in the UK even finding an online telephone directory was problematical ;)

To cheat then, create a webpage with some relevant phone numbers before you start the experiment :cheesy:

jwenting 1,905 duckman Team Colleague

Join the club. I've been programming for 8 years now and I still want to move from beginner to good.

The first step in that process you've already made, realising you have things to learn :cool:

jwenting 1,905 duckman Team Colleague

Dani likes to play around with the titles, they change once in a while ;)

jwenting 1,905 duckman Team Colleague

In contrast, the best vacation I ever had was in 2004.
No cellphones and computers for 3 weeks, no telephone at all as well as no radio, television, or newspapers for 2 of those.

Wyoming is heaven.

jwenting 1,905 duckman Team Colleague

online telephone directory to get the number for the pizza delivery guy, what more do you need? ;)

jwenting 1,905 duckman Team Colleague

import java.net.*;

jwenting 1,905 duckman Team Colleague

is it that time of year again?
Can't kids think up their own topics anymore? What's happened to creativity? Or is that all dumped into your playstations?

Might be time someone created an automatic random project idea generator, would save us all a ton of time answering questions like this.

jwenting 1,905 duckman Team Colleague

You will need a ByteArrayOutputStream linked to your FileOutputStream.
That you can link to the network port and dump the content of the file as a stream, the content of the file is then completely irrelevant.

jwenting 1,905 duckman Team Colleague

FileInputStream is readonly, FileOutputStream is writeonly...

And those won't cover a scenario where you don't have a drivemapping to the remote site, you'll need a network stream wrapped around it as well for the correct protocol.

jwenting 1,905 duckman Team Colleague

Java can support any protocol, there's just no ready made handlers for all of them in the core libraries.

jwenting 1,905 duckman Team Colleague

My Java sucks anyway hehe... master it in a week? No way

That's the path to enlightenment. I've been doing Java since 1997 (and professionally since 1999) and there are a lot of things I don't know about it :)

But knowing that you don't know is the first step towards knowing more, because you can't start to learn something before you know it's there to be learned.

jwenting 1,905 duckman Team Colleague

It's a sheet made by women in small jungle villages on Java on homemade looms.