From: Mike W. <m.w...@tr...> - 2003-01-20 07:20:55
|
At 17:41 1/19/2003, you wrote: >2. "Actions" are pluggable action handlers - a familiar concept to >everyone here. However the way the servlet determines what action to >execute is abstracted through ActionList. ActionList is always asked which >Action to use for a given request (WebContext) so there is huge >flexibility there. The default SimpleActionList will, like the >SimpleHelperList, load a list of action classnames and their action "name" >string, and will look for an "action=" parameter in the request, and >return the appropriate Action. Sounds good, but please be carefull! &action= &lang= seems to be reserved words in HTML-land... Don't try to use these in an URL, because some browser versions/email programs cut off the rest of the url (after action or lang). We have had troubles with this about a year ago... We sended out a mailing using webmacro, with a link to unsubscribe from the database. e.g. http://www.traction-it.nl/prg/wmmail?firm=MyTest&lang=NL&action=unsubscribe What hapened was the following: We got back a lot of error messages in the log files, after examining the hits we saw the error's came from the following links: http://www.traction-it.nl/prg/wmmail?firm=MyTest&lang= http://www.traction-it.nl/prg/wmmail?firm=MyTest&lang=NL&action= A lot of client browsers/email programs didn't send the rest of the url... It could be that this problems don't occur anymore, but I thought I could better trow it in the group before WM WebApp is up and running. <snip from W3 org> Specifying the language of content: the lang attribute Attribute definitions lang = language-code Specifies the primary language of an element's text content. The value of this attribute is a language code as specified by [RFC1766]. Please consult this document for authoritative information on language codes. Whitespace is not allowed within the language-code. All language-codes are case-insensitive. The default language is "unknown". </snip from W3 org> Greetings from the Netherlands, a webmacro user for about 4+ years. Mike Weerdenburg - Development Traction Information Technologies Bedrijvenweg 6a 1424 PX De Kwakel T: 0297 - 386 850 F: 0297 - 386 851 |