stupid Q: setters are not called if properties are empty

2001-02-27 Thread Kan Leung, MK
Sorry if you find if this is a bit off topic. ;) Hi all, Hope this is not a FAQ. (I spent 2 hours to do net search but didn't get a good answer) 8 jsp:useBean name="abc" scope="session" / jsp:setProperty name="abc" property="*"/ 8 Introspection magic makes the property setters called if

Re: auto reload of message resource and URL-rewrite

2001-02-26 Thread Kan Leung, MK
s-example/admin/reload.do" and it works. I can see messages about updating of ActionFormBean, ActionForward,... properties on a command line (where I have started Tomcat) and in browser window the message - "OK". Maya Maya Muchnik wrote: Kan is correct. I did have admin subdir und

message error after compiling other classes

2001-02-25 Thread Kan Leung, MK
Hi, During development, I always recompile my classes when the container is up and running. Newly compiled classes can be reloaded correctly. However, the browser always shows Message Tag errors if the page contain bean:message .../ tags. The classes which I re-compiled haven't use any

file upload, use of DiskFile class?

2001-02-23 Thread Kan Leung, MK
I am working on upload file via HTTP. I found a class called DiskFile in the Javadoc. However, I am unable to find out how does it work. Any clue? -- Kan LEUNG, M K email: [EMAIL PROTECTED] Digital Empires Company Limited

i18n, formatting message

2001-02-21 Thread Kan Leung, MK
Hi all, I have a property file like this: common.copyright={0} Copyright I used the following tag to retrieve the message: bean:message key="common.copyright" arg0="2001"/ The displayed message becomes: [Ljava.lang.Object;@47393f Copyright Any clue? -- Kan LEUNG, M K email: [EMAIL