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 t

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 imp

Re: [OT] HttpServletRequest.getRemoteAddr() sometimes returns NULL on Tomcat 9.0.30 and HTTP/2 secure requests

2020-02-10 Thread Manuel Dominguez Sarmiento
Hi Christopher, please see below: 1) The Tomcat valves operate on all webapps. We only need/require this for one particular webapp without affecting the others. Not true; see Konstantin's response. Yes, I realized per-context valve configuration was possible after I sent my original email.

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 web.xm

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 access

Expression Language ${initParam.whatever} not working

2020-02-10 Thread Richard Monson-Haefel
Hi, Tomcat version: 9.0.30 Operating System: macOS 10.15.2 While I can access my initParam vis a JSP scriptlet I cannot access the same initial paramter EL expression. Here is the JSP code I'm using ">Hello ${param.name} from hello.jsp color is ${initParam["greeting_color"]} Her

Re: HTTP error response payload

2020-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saurav, On 2/8/20 1:47 AM, Saurav Sarkar wrote: > Hi All, > > Through tomcat access valve i can view the HTTP request url > ,response code etc. > > But i can not view the error response being sent in the form of > JSON payload. > > Is their any v

Re: Question on HttpSession investigation

2020-02-10 Thread Luis Rodríguez Fernández
Hello M. Manna, I do think HttpSession.getAttributeNames(), HttpSession.getAttribute(name) should be good enough for debugging your issue. You can have a look at the good and classic examples servlet [1] included in every tomcat distribution. If you want to be sure what server is serving your req

Re: Installing a program designed for Tomcat 5.5 on Tomcat 9

2020-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/6/20 6:01 PM, Mark Thomas wrote: > On 06/02/2020 20:32, Shane Johnson wrote: >> I am currently trying to install a program designed to operate on >> Win XP 32 and earlier on to a Win 10 environment. The program >> extracts to the Shared a