Re: Expression Language ${initParam.whatever} not working

2020-02-11 Thread Felix Schumacher
Am 10.02.2020 22:43, schrieb Richard Monson-Haefel: Thanks, Mark. Your explanation was good but the code didn't do it. Then try ${pageContext.servletConfig.getInitParameter("greeting_color")} Felix On Mon, Feb 10, 2020 at 12:10 PM Mark Thomas wrote: On 10/02/2020 18:03, Richard

Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Richard Monson-Haefel
Thanks, Mark. Your explanation was good but the code didn't do it. On Mon, Feb 10, 2020 at 12:10 PM Mark Thomas wrote: > On 10/02/2020 18:03, Richard Monson-Haefel wrote: > > Hi Simon, > > > > Thanks for the response but I don't think that is the issue. I can use > the > > instead, but I want

Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Mark Thomas
On 10/02/2020 18:03, Richard Monson-Haefel wrote: > Hi Simon, > > Thanks for the response but I don't think that is the issue. I can use the > instead, but I want to use the initParam for the JSP page > which is named and mapped in the element. Perhaps I'm still > missing something. The EL

Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Richard Monson-Haefel
Hi Simon, Thanks for the response but I don't think that is the issue. I can use the instead, but I want to use the initParam for the JSP page which is named and mapped in the element. Perhaps I'm still missing something. On Mon, Feb 10, 2020 at 12:00 PM Simon Funnell wrote: > In your

Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Simon Funnell
In your web.xml you want: greeting_color green I think you have defined an initialization parameter for the servlet, not the context. On Mon, 10 Feb 2020 at 17:54, Richard Monson-Haefel wrote: > Hi, > > Tomcat version: 9.0.30 > Operating System: macOS 10.15.2 > > While I can