--- On Tue, 12/2/08, KE LI wrote: > Suppose that I input this link > "xxx/welcome.do?param1=hello¶m2=world¶mList=element1¶mList=element2¶mList=..." > into the link bar in the browser and run it. How can S2 knows > to put "hello" into param1 and "world" into param2 in the > welcome action object?
Because those are the names of the parameters? The "parameters" interceptor puts named parameters into action properties. You might want to check out some of the S2 documentation. http://struts.apache.org/2.x/docs/parameters-interceptor.html > Besides, suppose that I just run this link > "xxx/welcome.do?param1=hello¶m2=world¶mList=element1¶mList=element2¶mList=..." > in the browser, only the default method "execute" will be called, Correct. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]