Re: HOW TO detect what app server you're running in

2011-10-27 Thread Pid *
for diagnostic info. Thanks, guys! -Original Message- From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl] Sent: Tuesday, October 25, 2011 7:39 AM To: Tomcat Users List Subject: Re: HOW TO detect what app server you're running in Does this help? public void doGet

Re: HOW TO detect what app server you're running in

2011-10-26 Thread Konstantin Kolinko
) [mailto:ronald-mailingl...@base.nl] Sent: Tuesday, October 25, 2011 7:39 AM To: Tomcat Users List Subject: Re: HOW TO detect what app server you're running in Does this help?     public void doGet(HttpServletRequest request, HttpServletResponse response)             throws

RE: HOW TO detect what app server you're running in

2011-10-26 Thread Bob DeRemer
Good to know, thanks -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, October 26, 2011 7:47 AM To: Tomcat Users List Subject: Re: HOW TO detect what app server you're running in Note, that this method is unreliable. 1) The actual value can

HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be great. Thanks, Bob

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Edoardo Panfili
Il 25/10/11 13:33, Bob DeRemer ha scritto: I may need to use some Tomcat-specific code in my web app. As a result, I would like to detect [if possible] when I'm running in Tomcat, so I can invoke the logic. If anyone knows how best to do this, ideally with some sample java code, that'd be

Re: HOW TO detect what app server you're running in

2011-10-25 Thread Ronald Klop (Mailing List)
Does this help? public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println(serverinfo: + getServletContext().getServerInfo()); } Ronald. Op dinsdag, 25 oktober 2011 13:33 schreef Bob

RE: HOW TO detect what app server you're running in

2011-10-25 Thread Bob DeRemer
: HOW TO detect what app server you're running in Does this help? public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println(serverinfo: + getServletContext().getServerInfo()); } Ronald