How can I pass all the request parameters into a bean ?

2006-05-25 Thread Eric Chow
Hello, How can I pass all the request parameters into a bean ? For example: class User { private int id; private String name; private String sex; private Dat birth; private boolean status; } How can I set all the request parameters into the User if those parameters name contain

Struts or SpringFramework

2005-02-17 Thread Eric Chow
Hello, I have used Struts for four years. And I am evaluating SpinrgFramework. Anybody can give me some suggestions on them ?? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Create dynamic form ?

2005-01-29 Thread Eric Chow
How can I not use the struts-config.xml but I can use my own config to generate a HTML form and use a standard validator to validate the form data ?? On Fri, 28 Jan 2005 10:12:32 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 8:03 AM -0700 1/28/05, Wendy Smoak wrote: > >F

Create dynamic form ?

2005-01-28 Thread Eric Chow
For use DynaForm, I have to define it in struts-config.xml, right ? How can I create forms without defining it in the struts-config.xml? I mean I want o use my own config and generate a HTML form with Struts action handling. Is it possible to implement this with Struts ?? ---

Reload the MessageResources ???

2004-11-16 Thread Eric Chow
Hello, I implement a EJBMessageResource that extends Struts' MessageResources. How can I reload the MessageResources after the application starts ??? Best regards, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

XDoclet + Struts validator question

2004-09-12 Thread Eric Chow
Hello, How can I define the xdoclet tag for struts validator that the validated field muct depends to another field ?? For example, if the "action" is "new" then all the fields(name, sex) must be required. if the "action" is "edit" then only the "name" is required !!! Please give me a hand. Be

Controller in Struts-conf.xml !!

2004-09-06 Thread Eric Chow
Hello, Struts can't support multi controllers, right What do you think if it is better to support more than one controllers ??? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

MessageResources and JSTL ???

2004-09-06 Thread Eric Chow
Hello, In struts-conf.xml, we can define more than one Message Resources: In JSTL, I have to add a for use in How can I defein JSTL to use Struts' message resources setting without setting the context-param in web.xml ??? Eric ---

ActionError in Struts1.2 ???

2004-09-04 Thread Eric Chow
Hello, ActionError and ActionErrors are deprecated in Struts1.2, We should use ActionMessages and ActionMessage to replace them. But how can we identify which message is normal message and which one represents error message ??? Eric -

Struts and JSTL ???

2004-09-04 Thread Eric Chow
Hello, How can JSTL uses Struts' resources and locale setting ??? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reload application resources !!!

2004-08-29 Thread Eric Chow
Hello, Is it possible to reload the resource properties fot Struts appliction? The application resources are specifiy in struts-cong.xml, is it possible to reload it in run-time ??? Sometimes I will modify the messages resource properties, I have to restart the web app after the modification. Th

Re: Question about upload multi files ???

2004-08-26 Thread Eric Chow
Have you tried GMail ??? In the Compose Mail part, it can dynamic add Attach file as I said in my question. What technology will they use ?? Eric - Original Message - From: "David Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PRO

Question about upload multi files ???

2004-08-26 Thread Eric Chow
Hello, It is easy to use Struts to upload multi files, right? There is also an example in the struts example. My question is that, how can I dynamic add the file for upload? For example, there is only one button "Add file", when click on it, it will open the file browser for selecting which file

Dynamic add an action mapping ??

2004-08-16 Thread Eric Chow
Hello, Is it possible to add an action mapping in run-time ? Or is it possible to reload the struts-config.xml in run-time ??? Eric == If you know what you are doing, it is not called RESEARCH! ==

Relaod struts-config.xml

2004-08-09 Thread Eric Chow
Hello, In Tiles, it can be reloaded the tiles-config.xml by using its reload action, is there any same action for reloading the struts-config.xml ? Eric == If you know what you are doing, it is not called RESEARCH! == --

Reload struts-config.xml

2004-08-09 Thread Eric Chow
Hello, In Tiles, it can be reloaded the tiles-config.xml by using its reload action, is there any same action for reloading the struts-config.xml ? Eric == If you know what you are doing, it is not called RESEARCH! == --