jwenting 1,905 duckman Team Colleague

I'm doing a bit of Oracle ADF, quite nice.

jwenting 1,905 duckman Team Colleague

use a regular expression to search for any unwanted characters and return an error if any are found.

jwenting 1,905 duckman Team Colleague

do your own input validation. Relying on Exceptions being thrown on bad input is usually not a good idea.

jwenting 1,905 duckman Team Colleague

yup. At least 2 ways.
1) generate a bitmap using something like JFreeChart from a servlet that you link to through an image tag.
2) generate it as text using some CSS magic to make it look nice.

jwenting 1,905 duckman Team Colleague

set up a KeyListener to it which refuses to allow anything you don't want.

jwenting 1,905 duckman Team Colleague

no, we're not going to do your homework for you, thread hijacking homework kiddo.

jwenting 1,905 duckman Team Colleague

So because you were lazy and didn't start until 3 weeks before the paper is due, and can't be bothered to do more than a cursory search of the web, you want us to write your paper for you...

Do your own homework, kiddo. If you can't you deserve to fail.

Salem commented: The same old same old posts get tiring don't they +16
jwenting 1,905 duckman Team Colleague

I will settle for 24 hours without pain and without irrate customers.

jwenting 1,905 duckman Team Colleague

It is rubbish. It is fundamentally flawed by design.
If you don't want to hear advice you don't like, don't ask questions.

jwenting 1,905 duckman Team Colleague

Redo from start.
Not urgent.
Rubbish code.

jwenting 1,905 duckman Team Colleague

you should be able to do the entire project in a day or two if you type at a less than glacial pace.

We're NOT going to help you cheat on an assignment you had 2 months for that you can do in 2 days (or any assignment for that matter).

You're either lazy and/or incompetent, and both of those are very valid reasons to want you to fail and fail miserably.

jwenting 1,905 duckman Team Colleague

Learn to interpret compiler errors, if you don't you'll never succeed.
And no, we're not going to guess what "error" you're getting. You tell us and we MAY tell you what it means.

jwenting 1,905 duckman Team Colleague

Most likely your html is not valid, and IE and FF deal with those errors differently, with IE being more successful at it than FF.

jwenting 1,905 duckman Team Colleague

the input will always be a String, as all input from the screen is read as Strings.
And as a single method call will reverse a String, this is really no problem at all :)

jwenting 1,905 duckman Team Colleague

pl/sql developer is a more powerful product, with advanced features that the free product lacks.
It's also a lot more expensive at several thousand dollars per seat.

For a school project, even Oracle's free SQLDeveloper is overkill.

jwenting 1,905 duckman Team Colleague

It is. I don't use it much because PL/SQL developer is so much better.
But if I had to pay the several thousand dollar license myself (company pays it) I'd not use it either :)

jwenting 1,905 duckman Team Colleague

As an Systems Engineer, I often download software from either the publisher or a retailer. The rest is purchased off the shelf. There is such a thing as legitimate downloading. You pay and then download. In this case, I need a link to a retailer who sells Maya 4 or contact info for a person who has an old retail version for sale. The publisher no longer sells the software.

So do I. But I also know that when the manufacturer no longer sells/supports it there's NO legal way to download it legally.
As you claim to know that it's no longer for sale yet you want to know where to download it one can only assume you want a pirated version.

Contact the manufacturer. They may be able to help you out or know a legal channel that can.
Any shady site selling you anything now (and that includes eBay) is almost certainly selling pirated goods.

jwenting 1,905 duckman Team Colleague

Don't call the sequence in the insert statement.
Instead use

insert into my_test (name) values ('Voila!');

The trigger will call the sequence, and fill in the ID.

You should best change the name of that column though. Best practice is to never use things that could be reserved words in some programming language (and especially SQL).

jwenting 1,905 duckman Team Colleague

Create a JTable, create a custom TableModel for it, and have a Timer or whatever refresh that at regular intervals.

jwenting 1,905 duckman Team Colleague

and oh, SQL Developer 1.5 now has integrated support for CVS and Subversion.
Was released yesterday :)
Available now from OTN.

jwenting 1,905 duckman Team Colleague

seems to be a trend with the express editions. Microsoft SQL Server Express doesnt include a GUi either. you must use visual studio or "SQL Management Studio Express"

Nope. The kid just couldn't find the user interface, it's there.
Oracle has moved to web based administration for its products.
The user interface is the same for the XE and regular editions (except of course that the XE edition has less functionality).

jwenting 1,905 duckman Team Colleague

Of course it increases your sequence twice.
After all, you call it twice...

jwenting 1,905 duckman Team Colleague

and that's after you stop trying to place business logic in JSPs.

jwenting 1,905 duckman Team Colleague

Legal copies can't be downloaded, so you can't be looking for a legal copy...

jwenting 1,905 duckman Team Colleague

you don't need an IDE to work with version control systems...
And JDeveloper just isn't fit to work with pl/sql packages.
If you want both, get IntelliJ and install the Oracle SQL plugin.

jwenting 1,905 duckman Team Colleague

from the manufacturer website you can no doubt purchase Maya.
If Maya 4 no longer is sold, the manufacturer of that editor plugin will have made a version for a current version of Maya.
We're not going to help you to pirated software.

jwenting 1,905 duckman Team Colleague

no, JDeveloper is NOT the proper tool for developing pl/sql.
SQL Developer is the right tool, it's designed for working with SQL rather than Java.

Both are development tools, not administration tools.
So neither will let you schedule jobs, schedule backups, etc.
Use the web interface for that.

What you can do from pl/sql developer is save the scripts to recreate tables, packages, etc.
The Oracle XE information (accessible from the web interface) includes instructions on scheduling backups.

jwenting 1,905 duckman Team Colleague

Oracle 10 has a web based administration tool.
And there's sqlplus as well.

Or indeed get an external tool. PL/SQL Developer is very good and reasonably priced. Oracle has its own tool that's free of charge as well, available from OTN.
TOAD is overpriced IMO.

jwenting 1,905 duckman Team Colleague

I wouldn't know, I've not met her yet :)

jwenting 1,905 duckman Team Colleague

nope. It was all that needed to be said.

jwenting 1,905 duckman Team Colleague

don't.

jwenting 1,905 duckman Team Colleague

or his wife took his internet away :)

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

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

You might want to learn basic Java syntax before you start messing with network programming.

The Java tutorial (which can be found on Sun's Java site) explains things nicely, or get yourself an introductory text into the language like "Head First Java".

jwenting 1,905 duckman Team Colleague

tell us what you think is wrong, and we may tell you whether you're right.

jwenting 1,905 duckman Team Colleague

not. That's not what JSP are to be used for.

jwenting 1,905 duckman Team Colleague

In fact every code you write is executed in a thread.
So your code is ALWAYS multithreaded, with threads internal to the JVM running next to it (things like the garbage collector, class loader, etc.).

jwenting 1,905 duckman Team Colleague

Internally, the JVM has a thread scheduler.
How it works depends on the hardware and operating system architecture it's implemented on (so may differ) but generally it will be preemptive.

jwenting 1,905 duckman Team Colleague

classic example of "gif mi zu koduz", aka a homework kiddo that can't be bothered to do its own homework.
It probably didn't even bother to read the documentation I supplied, far too much trouble.

jwenting 1,905 duckman Team Colleague

A bean has no "value".
What "doesn't work" anyway?
What do you expect to happen and what do you observe as happening?

jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague

hmm, most of those "tutorials" are either utterly and totally wrong or hopelessly outdated, "teaching" the JSP 0.9 coding style which has been out of favour with every serious code for the better part of a decade.

Best to get either Head First Servlets and JSP or Hans Bergsten's JSP book (in the latest edition of course), both published by O'Reilly.

jwenting 1,905 duckman Team Colleague

not declaring them is the ultimate in abstraction, but I'm sure your course material doesn't mean that when it talks about abstract classes and does mention what they actually are.

jwenting 1,905 duckman Team Colleague

That's because l_interval does NOT in fact contain a string representation of a date.
It contains a string representation of a mathematical formula which might resolve into a valid date (or not).

You'll need to parse that formula somehow, and the to_date function will be no help whatsoever in doing so.

jwenting 1,905 duckman Team Colleague

pass the selected value back and set it as the "selected" attribute of the dropdown.

jwenting 1,905 duckman Team Colleague

says it all, that variable doesn't exist...

jwenting 1,905 duckman Team Colleague

not urgent. Come back next year.
Gives you time to learn about code tags, html, Javascript, Java, JSP, etc. etc.

jwenting 1,905 duckman Team Colleague

usually you have a list of words and check each word against that list.
There are more advanced systems that do full lexical analysis to also take context into account but you're not ready for those.

jwenting 1,905 duckman Team Colleague
public void actionPerformed(ActionEvent e) {
                    JFileChooser fileChooser = new JFileChooser(".");
                    int status = fileChooser.showOpenDialog(screen);
                    if (status == JFileChooser.APPROVE_OPTION) {
                        dataFileName.setText(fileChooser.getSelectedFile().
                                             getAbsolutePath());
                    }
                }

Something like this.

sagedavis commented: Great answer for my java netbeans question +1