Scott Goldstein wrote: > The EL contains a way to access request parameters: > > ${param.key} > > Can you define the key as a constant in an interface or does it have to > be hard code?
Not as a Java constant (static final) but you can define the names as context init parameters in the web.xml file: <web-app> <context-param> <param-name> foo </param-name> <param-value> bar </param-value> </context-param> ... </web-app> and use it like this: ${param[foo]} Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com JavaServer Pages http://TheJSPBook.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>