Hi there,

 

iam deploying a servlet app via Tomcat sometimes as a Windows Service and
sometimes as a standard Windows Console App.

Since I need to implement different behavior in the servlet, I would need a
way from inside the Servlet code to detect if the Tomcat this Servlet runs
in, runs as Windows Service or Win Console App.

 

Hope someone is so kind to help me out with this one.

 

Thanks in advance

 

Normen

Reply via email to