Re: learning tomcat 7 on Linux

2020-04-08 Thread Richard Monson-Haefel
> Use that, rather than whatever comes with CentOS. Access permissions on > the files of a development server are far simpler than on fully > public-server-enabled installs. > > Olaf > > > - > To unsubsc

Re: learning tomcat 7 on Linux

2020-04-08 Thread Richard Monson-Haefel
nal. > This is just a thing on the side, like learning to play guitar. Can > someone please suggest some resources? > > Many thanks. > -- Richard Monson-Haefel https://twitter.com/rmonson https://www.linkedin.com/in/monsonhaefel/

Re: Role/Path Based Access Valve?

2020-03-03 Thread Richard Monson-Haefel
Thanks, Chris. As I said it was hypothetical but I appreciate the help! On Tue, Mar 3, 2020 at 2:42 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Richard, > > On 3/3/20 09:14, Richard Monson-Haefel

Re: Role/Path Based Access Valve?

2020-03-03 Thread Richard Monson-Haefel
Ok. That makes sense. Thanks again, Mark. On Tue, Mar 3, 2020 at 8:18 AM Mark Thomas wrote: > On 03/03/2020 13:50, Christopher Schultz wrote: > > Richard, > > > > On 3/3/20 08:26, Richard Monson-Haefel wrote: > >> Thank you, Mark. I was actually aware of how t

Re: Role/Path Based Access Valve?

2020-03-03 Thread Richard Monson-Haefel
ivileges users should have - that's the role of operations or management or if hosting the client. On Tue, Mar 3, 2020 at 7:51 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Richard, > > On 3/3/20

Re: Role/Path Based Access Valve?

2020-03-03 Thread Richard Monson-Haefel
re it even gets to the web application. In that way, no matter what the developers put into the WAR I have multiple control from Tomcat. Make sense? On Tue, Mar 3, 2020 at 7:04 AM Mark Thomas wrote: > On 03/03/2020 12:27, Richard Monson-Haefel wrote: > > I've tried to find this bu

Role/Path Based Access Valve?

2020-03-03 Thread Richard Monson-Haefel
ion - role-based authorization. -- Richard Monson-Haefel https://twitter.com/rmonson https://www.linkedin.com/in/monsonhaefel/

Re: this.getServletConfig() returns null

2020-02-14 Thread Richard Monson-Haefel
That worked! Thank you! On Fri, Feb 14, 2020 at 1:10 PM Mark Thomas wrote: > On 14/02/2020 18:29, Richard Monson-Haefel wrote: > > Hi, > > > > I'm experimenting with using annotations. I created a Servlet with > > annotations and then attempt to get

this.getServletConfig() returns null

2020-02-14 Thread Richard Monson-Haefel
if(config != null){ String name = config.getInitParameter("name"); String greeting = config.getInitParameter("greeting"); response.getWriter().println(greeting + " " +name); }else{ response.get

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

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

2020-02-10 Thread Richard Monson-Haefel
> 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 < > monsonhae...@gmail.com> > wrote:

Expression Language ${initParam.whatever} not working

2020-02-10 Thread Richard Monson-Haefel
is I don't understand why the JSP expression <%= %> works but the EL expression ${ } doesn't. I've tried many variations and other EL implicit objects I've tried worked fine. What am I missing? The WAR is attached for your convenience.