Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Hao Zhang

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

Recent posts by Hao Zhang

Hello.
Because no jdk5.0 installed, I'm using EDU.oswego.cs.dl.util.concurrent.PooledExecutor for thread pooling. I know using Thread.join() can let main thread wait until that thread dies, but in PooledExecutor, how to do the same thing?
In the default module, I defined this:


I have some sub-modules, such as sysuser module, in struts-config-user.xml, I wrote this:


in tiles-defs-user.xml, I want to define a definition "userLayout" extend the definition "classicLayout" which is defined in tiles-defs.xml, but It doesn't work when I tried to forward to "userLayout" in user module.

I want to do this because several members will work on this project, and the central tiles-defs.xml will cause a lot of merge.

thanks.
[ August 22, 2004: Message edited by: Hao Zhang ]
15 years ago
Hi Rick, I saw in Struts-Example with struts 1.1, the validation.xml contains <field bundle="alternate" property="password" ... />, and it works. But indeed there should be no bundle property according to the DTD, why?
16 years ago
Same problem, I think it must be a bug of struts 1.1,
but I found JSPs in module can get the default resources, so I define common messages in struts-config.xml like this:

then in JSP use:

to retrive "mykey" message. besides, <bean:write> tag without bundle property specified can get module messages as well.
BTW, the validator plugin's standard messages can not be found anyway.
16 years ago