jwenting 1,905 duckman Team Colleague

you can impress by doing it yourself, which will be a breath of fresh air from all the kids who just look up some ready made code on the internet and turn it in as their own.

So no instant messenger, CPU scheduling simulation, airline reservation system, etc. etc.

jwenting 1,905 duckman Team Colleague

well if there was no guns then there wouldnt be any shooting would there?

Wrong. The weapons used were illegally acquired. Same for the weapons used in pretty much all school shootings...

Counter to your argument: if other students and staff had had guns the shooter would have been dead or disabled before he could have gotten off more than a few shots instead of killing dozens.
That's a powerful deterrent to most potential killers, and a quick way to contain the damage the undeterred can inflict.

As you can't remove guns from all the world, you'd better make sure the risk of using one except in self defense is high.
And if guns were illegal there's be other weapons instead (in fact the criminals would get guns anyway, they get illegal guns now as well, smuggled in from other countries), people will ALWAYS find a way to kill each other.

have they found out why he did it yet?

Several theories. According to one he flipped when he saw his girlfriend walking on campus with another man, according to another he left a suicide note stating he was taking action against the immoral oppulent behaviour of rich people, etc. etc.

Such things will always happen, have always happened.
The only things different here are the scale, made possible by having a large island of potential helpless victims in a sea of armed people, and the massive media attention.
You can't take …

jwenting 1,905 duckman Team Colleague

yes, there is.

jwenting 1,905 duckman Team Colleague

banks spend millions to develop those systems, what makes you think you can do it with no experience from your bedroom?

jwenting 1,905 duckman Team Colleague

I doubt anyone here considers himself your friend, let alone your "dire friend"...

jwenting 1,905 duckman Team Colleague

most JDBC drivers, ORM frameworks, and application servers implement their own connection pooling.
Why reinvent the wheel? Especially as it's far from a trivial endeavour.
You're unlikely to find a pdf on some website telling you all you need to know.
Think first of buying a good number of quality books on multithreading, concurrent computing, caching, memory management, design patterns, etc. etc. and actually understanding all they contain.

jwenting 1,905 duckman Team Colleague

in other words you want to create something to spy on others.
Why should we help you do something that's at the very least immoral and depending on how you use it likely illegal?

Doing it in Java would be stupid anyway, there are far better languages to write trojans and spyware (which is what you're trying to create) in.

jwenting 1,905 duckman Team Colleague

no.

jwenting 1,905 duckman Team Colleague

You'd have to have some JNI hook into the Windows subsystem that governs these operations.
Hardly a trivial task.

jwenting 1,905 duckman Team Colleague

The system classloader hides all that from you.
There is no way to find out the filesystem location of a classfile, only the classloader that loaded it.
And you wouldn't need to anyway.
Create your installer in such a way that it writes a configuration file containing the desired location of the logfile, and use that to determine where the log is to be written.

Or use the registry (more correctly the configuration API, which determines based on OS capabilities where to store settings).

jwenting 1,905 duckman Team Colleague

Of course older compilers will implement older versions of the standard which are often at odds (in places) with later versions.
So much for standards :)

jwenting 1,905 duckman Team Colleague

Isn't that right? It better be.. I'm taking the Physics 2 "Mechanics w/ Calculus" AP test next month..

It's wrong actually. The correct answer is that you can't tell based on the data. It doesn't state where the combined masses come to a halt for example, nor the ground friction component acting on them. As such there's just one vector out of several you need to compute the entire energy distribution of the system before and after the collision (and that's when seeing it as a 2 dimensional solid body problem, it could be a 3 dimensional problem with other factors coming into play like the bodies dividing up their masses on collision causing multiple bodies to leave the scene afterwards, dispersing the energy).

jwenting 1,905 duckman Team Colleague

i would probably take over the world... somehow

you'd have to beat me, and you could never pull that off now that I've advance warning of your plans :mrgreen:

jwenting 1,905 duckman Team Colleague

got me a Nokia N70 last year. Nice phone, good sound to it and you can actually use it as a phone quite easily. Screen's a bit easy to scratch though.

jwenting 1,905 duckman Team Colleague

A JSP just formats your output into (usually) html, so learn about html tables...

Your servlets that process the data would get a LOT of fields back though, if you represented every cell as a form field (which you'd have to do).

jwenting 1,905 duckman Team Colleague

yes, you need an older version or better you need to upgrade your JVM to a newer version.

jwenting 1,905 duckman Team Colleague

Nope. The memory space for methods, like that for static members, is allocated only once as part of the Class instance associated with the class which is shared by all instances of that class through an implicit member reference.

Of course some memory is allocated for each instance actually running a method to store method arguments and method local variables.

jwenting 1,905 duckman Team Colleague

same here. Would make no difference whatsoever (except for the price which would almost certainly be way up there, especially initially).

The only reason I upgraded my connection from 1MBps to (now, it went in several stages) 8 is that it was cheaper that way (got a free upgrade to 4, keeping it at 1 would have cost me money to change my contract to a lower speed, then upgraded to 8 when my ISP introduced that at a lower price than the 4 I had at the time cost me).

For throughput, anything more is useless to me. I rarely go over 2MBps and that only for minutes when downloading another large beta or dataset for the software testing I do for some companies.
Higher upstream might be nice at times, but traffic to my selfhosted server isn't all that high so the 1MBit upstream I have is usually more than enough to cope.

jwenting 1,905 duckman Team Colleague

You will need to add the correct declarations to the top of your JSP to enable JSTL.
That will have to be accompanied by a correctly versioned web.xml in order to get the servlet container to initialise support for JSTL correctly.

jwenting 1,905 duckman Team Colleague

he probably can't find the crack without someone giving him a torrent for it :)

jwenting 1,905 duckman Team Colleague

Haven't seen one in ages that required installation.
Just unpack the archive and include the necessary jars in your classpath when needed.

jwenting 1,905 duckman Team Colleague

Head First Java 2nd edition (Kathy Sierra and Bert Bates) is generally recognised as one of the best books for beginners.
Agile Java (Jeff Langr) is also good.

jwenting 1,905 duckman Team Colleague

ask your teacher, that's what he's there for (and yes, we know your teacher is no good and doesn't want to listen to you, your books are bad, and you need teh codez urgent asap plz).

jwenting 1,905 duckman Team Colleague

learn how to use them separately first before trying to combine different technologies you don't understand.

A JTable has nothing to do with databases (though you can use it to display data that you retrieve from a database elsewhere).

jwenting 1,905 duckman Team Colleague

well, for one thing you're using an assignment operation where you're probably intending to use a comparison operation.
And that comparison operation would also be incorrect as it's not the way to compare Strings in Java.

<c:choose>
  <c:when test="incidents.INC_STATUS == 'open'">
    <option value="OPEN" selected="selected"/>
    <option value="CLOSED"/>
  </c:when>
  <c:otherwise>
    <option value="OPEN"/>
    <option value="CLOSED" selected="selected"/>
  </c:otherwise>
</c:choose>

would be a proper way to do it in JSP (though there are some variations on the theme, like determining whether to set an option to true in that option, which is the best way if the number of options gets to be more than two or three).

jwenting 1,905 duckman Team Colleague

I think you need a better undestanding first of the JSP programming model.

What exactly do you think will happen when you include a useBean tag for example?

Normally you'd put your business logic in a set of servlets and the display logic in JSPs.
The JSPs produce html which contains forms and links which call servlets.
The servlets process the data and forward to JSPs.

By using a framework like Spring-MVC you get a lot of that almost for free, hidden as it were from you so you can concentrate on just the business and display logic.
It will also give you ways to nicely show errors automagically without a lot of fumbling with stuff on your end.

jwenting 1,905 duckman Team Colleague

define "ownership"...
You can always sell the rights to someone which would give them ownership and you would no longer be allowed to sell it.

jwenting 1,905 duckman Team Colleague

Don't expect high pay, display a willingness to learn, and do whatever they tell you to do without an attitude of "that's not nice work, I don't want to do that".

In fact don't even think about what they're going to pay you now, or at most do some calculations as to the amount you'd need to pay the rent and buy enough food to not starve as that's the minimum you'll need to survive on.

jwenting 1,905 duckman Team Colleague

revenge on beginners or revenge of the beginners?

jwenting 1,905 duckman Team Colleague

not all homework involves writing code.
These are typical homework questions, easily found in any halfway decent book or tutorial.

We're not here to regurgitate the language basics to kids too lazy to look them up for themselves.

jwenting 1,905 duckman Team Colleague

don't use that book. It's riddled with errors.
There is some valuable information in it, but unless you know Java very well you'll never find it.

I seriously doubt though he'd tell you to do what you're trying.
Placing anything in the JVM installation is BAD, so is naming packages with capitals.
I'm pretty sure he explains about classpath settings too.

jwenting 1,905 duckman Team Colleague

look harder. If you had looked you'd have found plenty of examples.

jwenting 1,905 duckman Team Colleague

No, it's exactly 1024. There is technically a difference between a megabyte (1000 MB = 1 GB) and a mebibyte (1024 MiB = 1 GiB), but that would make a much larger difference. I've had the same thing happen when I create partitions too, though, so it's probably something in the partitioning software. Is the 0.1GB that important?

You got your history wrong here...
A Megabyte is 1024 bytes. It wasn't until marketing departments started corrupting the term to mean 1000 bytes that some people came up with the silly idea of inventing the term "mebibyte" for 1024 bytes.

jwenting 1,905 duckman Team Colleague

I've been working in the "real world" of JSP development for the last 7 years kid, I've seen it all.

The spec initially didn't include tags, which was later corrected.
The old style syntax was (IMO mistakenly) maintained for backwards compatibility only.

If kids just learned to do things the right way the world would be a much happier place and there'd be no kids like you who think they know it all from having read a 10 year old tutorial that's 6 years out of date.

jwenting 1,905 duckman Team Colleague

JSTL contains formating tags.
If that's not enough for what you want you shouldn't use JSP for it.

jwenting 1,905 duckman Team Colleague

another thing comes to mind: it's almost certainly not VC++ that's the problem but the code itself :)

jwenting 1,905 duckman Team Colleague

JavaMail is NOT a program, it's a class library you can use to read and write email from and to a mailserver from your own program.

SL275 btw doesn't yield a "certificate", you only get a piece of paper stating you have attended the course :)
I also got a nice tote bag and a pen, but that's possibly not the norm.

jwenting 1,905 duckman Team Colleague

scriptlets should NEVER be used, period.

jwenting 1,905 duckman Team Colleague

remove the compiled classes as well. Either find them by hand or do a clean build of the entire project.

jwenting 1,905 duckman Team Colleague

and most libraries will stock out of date books, and on technical subjects only those books that get donated to them or ordered by customers (which is rare).

jwenting 1,905 duckman Team Colleague

what is happening and what do you think should happen/do you want to happen?

jwenting 1,905 duckman Team Colleague

No, it didn't.
Maybe 5.5 does, but a colleague just tried it this week at work (and that was 5.5) and it was hideously slow.

2.6GHz machine, 1.5GB RAM, just displaying the open file dialog took several minutes.
Changing directories in the thing took long enough to go get a cup of coffee and drink it.

He didn't get around to opening and editing files, the day was over before Netbeans got around to that...

My experiences with 5.0 on similar hardware are identical or worse.

IntelliJ flies on my machines which have identical specs to that one. Eclipse works reasonably fast as well.

Both are also written in Java...

jwenting 1,905 duckman Team Colleague

You'll at the very least need Swing and some networking code.
JavaMail and JAF (required by JavaMail) make working with email a lot easier though, you can get both from Sun.

jwenting 1,905 duckman Team Colleague

and? Where are you stuck?
You look to be on the right track (except for the incorrect name for your class).

jwenting 1,905 duckman Team Colleague

if you are incapable of reading the documentation that comes with the JDK (which will tell you how to compile something) and follow a basic tutorial (linked to from that documentation), what makes you think you can create anything in Java (let alone an IDE, a project usually involving dozens of experienced people and many months or even years of effort)?

I don't in fact think it's an "academic project" at all, sounds more like a homework assignment and you didn't pay attention in class...

jwenting 1,905 duckman Team Colleague

Get yourself some good books.
Head First Servlets and JSP for starters, and O'Reilly's JSP book (be sure to get the 3rd edition or later, the others are outdated).

Install Tomcat, read those books, and start experimenting.

jwenting 1,905 duckman Team Colleague

7 posts and already abusive...

You're a lazy nogood kid, hurts to have that spelled out to you does it?

jwenting 1,905 duckman Team Colleague

you won't, not initially. You'll get tons of crap and advertising instead, with a link to the Sun tutorial hidden among it somewhere.

jwenting 1,905 duckman Team Colleague

and at that time, you should just try several and decide for yourself...

Personally I think neither is all that good, but Eclipse is better than Netbeans overall (though for someone in the early stages of their journey through lalaland the only difference that really matters is the performance, as Netbeans is terribly slow).

jwenting 1,905 duckman Team Colleague

just another 419 scam. Get dozens of those a day, scattered in with the hundreds of attempts to sell me viagra and other medication (probably fakes) and email virusses.
And they all go the same way, straight into /dev/null
Today's tally: 1000 spam, 2 posts to a mailing list I subscribe to, and nothing else...