Joseph Clark

Ranch Hand
+ Follow
since Sep 10, 2005
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joseph Clark

Oh, it's referring to that locale att.

Carry on.
13 years ago
I should mention that I'm a total noob, and this is my first
struts endeavor.

I am using Tomcat 5 which I know works.

Here is web.xml

and struts-config.xml looks like ...

I am trying the upload-file example at

[ November 01, 2006: Message edited by: Joseph Clark ]
13 years ago
But, I have this line ...

... in a .jsp, with the struts-taglib-1.3.5.jar in /WEB-INF/lib,
and I get the following error when I load the .jsp.

13 years ago
Well, this works . . .

Thanks for the tip Marc.
No telling when it would have occured to me to give the thing a scope.
[ March 03, 2006: Message edited by: Michael Clark ]
I am trying to get the "Simple tag with attribute" example on page 511 of HFSJ working.

Here's the code . . .

The tag handler class and the bean are in $CATALINA_HOME/webapps/simple_tag/WEB-INF/classes/foo.

The .tld is in /WEB-INF.

When I run it, in Tomcat 5.5.12, I get a NullPointer exception at the line where the iterator is declared in the tag handler.

Any thoughts will be greatly appreciated.

Thank you,
A java bean should always have a zer0-arg constructor.
I have the Person/Employee example from HFSJ
working with no page directive and nothing
in the DD with Tomcat 5.5.12.
[ February 19, 2006: Message edited by: Michael Clark ]
I was getting that error.
I think I have solved my problem.
I used c-rt.tld in standard.jar,and it worked.
That must be why they say to use c-rt.tld instead of c.tld.
[ January 08, 2006: Message edited by: Michael Clark ]

Does anyone know why this code ...

produces this result ...


Thank you.
[ January 07, 2006: Message edited by: Michael Clark ]
The icon with the pencil image, Change Driver? It's the same function
as the right-click->Change Driver function from the last post.
Does not work.

I am trying DBExplorer, with as much success.

I am using Eclipse 3.1 with MySQL 4.1 on Fedora 4 os. Anyone on a
similar system have success Eclipse and MySQL?
[ November 20, 2005: Message edited by: Michael Clark ]
I am trying to hook MySQL up to Eclipse.

While I am overall very pleased with the Eclipse IDE, I cannot
install the driver for MySQL in the way in which I think I
am supposed to be able to.

First, I installed Eclipse 3.1.1 by untar.gz'ing it in /usr/local.
Eclipse works right out of the box.

Then, I downloaded SQLExplorer from sourceforge. I unzipped it in
the Eclipse folder--this is the 2.2.3 version (the 2.2.4 doesn't seem to work)--I am then able to get an SQLExplorer Perspective.

I think I am supposed to be able right click on MMMySQL Driver in the
Driver View and get a window that allows me to change drivers.
I want to change it to the MySQL connector .jar that the SQLExplorer
instructions tell you to download, which languishes in /root/Desktop/mysql-connector, but when I right-click MMMySQL Driver nothing happens.
[ November 20, 2005: Message edited by: Michael Clark ]
One counterexample:
You are correct (as far as the anonymous not being implicitly abstract), because this code . . .

produces this error . . .

[user@computer java]# javac <anonymous AbstractTest$1> is not abstract and does not override abstract method getNum() in AbstractTest
AbstractTest t = new AbstractTest() {
1 error
[ October 30, 2005: Message edited by: Michael Clark ]