Re: TC 9.0.21: ContextListener + Servlet app

2019-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tommy, On 6/15/19 21:51, Tommy Pham wrote: > Hi Mark, > > After some research and thought about internal application flow, I > think the 'cleanest' is have TC's default servlet handle the *.html > requests and use the assigned filter to restrict th

Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Nazmus Sadat
Hi Chris, On Sun, Jun 16, 2019 at 12:34 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Nazmus, > > On 6/16/19 00:11, Nazmus Sadat wrote: > > Greetings. For security reasons, I wanted to remove docs and > > examples applicatio

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/14/19 16:48, Mark Thomas wrote: > On 14/06/2019 21:10, Tommy Pham wrote: >> 2) I Have this small and simple HTML form: >> > type="submit" value="enter"> My servlet's doPost is >> triggered but when I iterate the request.getParameterM

Re: Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nazmus, On 6/16/19 00:11, Nazmus Sadat wrote: > Greetings. For security reasons, I wanted to remove docs and > examples application. So, at first, I deleted both of their > directories from the webapps directory. However, the remaining > application

Tomcat not responding (in browser) after undeploying docs and examples application.

2019-06-15 Thread Nazmus Sadat
Greetings. For security reasons, I wanted to remove docs and examples application. So, at first, I deleted both of their directories from the webapps directory. However, the remaining applications (including manager app) were not responding in browser (blank pages were being served), although the t

Re: TC 9.0.21: ContextListener + Servlet app

2019-06-15 Thread Tommy Pham
Hi Mark, After some research and thought about internal application flow, I think the 'cleanest' is have TC's default servlet handle the *.html requests and use the assigned filter to restrict the access as desired. Is there a better approach? On that plan, I have this mapping for TC's default s