Kind regards,
Mark
От: Mark Thomas
Отправлено: 18 марта 2025 г. 9:35
Кому: users@tomcat.apache.org
Тема: Re: context path version number with parallel deployment
On 17/03/2025 18:43, Усманов Азат Анварович wrote:
thanks a lot! I got it working.
A quick follow
like this:
String webappVersion =
(String)request.gteServletContext().getAttribute("org.apache.catalina.webappVersion");
"
От: Mark Thomas
Отправлено: 18 марта 2025 г. 9:35
Кому: users@tomcat.apache.org
Тема: Re: context path version number with par
i/org/apache/catalina/Globals.html
Where else would you like to see it? The where may change which steps
are required to update the docs.
Mark
От: Christopher Schultz
Отправлено: 17 марта 2025 г. 17:40
Кому: users@tomcat.apache.org
Тема: Re: context path version n
There is also
https://tomcat.apache.org/tomcat-9.0-doc/config/listeners.html#Context_Naming_Info_Listener_-_org.apache.catalina.core.ContextNamingInfoListener
which I have added years ago. Works perfeclty from servlets, Logback and
Spring.
On 2025/03/17 12:53:22 Усманов Азат Анварович wrote:
>
а: Re: context path version number with parallel deployment
Азат,
On 3/17/25 8:53 AM, Усманов Азат Анварович wrote:
> Hi everyone! is it possible to display current version number in a jsp page
> or servlet when using parallel deployment . using some property.
>Currently when building an
Азат,
On 3/17/25 8:53 AM, Усманов Азат Анварович wrote:
Hi everyone! is it possible to display current version number in a jsp page or
servlet when using parallel deployment . using some property.
Currently when building an app war we use git to calculate last revision
number, store it in
Hi everyone! is it possible to display current version number in a jsp page or
servlet when using parallel deployment . using some property.
Currently when building an app war we use git to calculate last revision
number, store it in a file, use it to name a war accordingly.ex
Education##1522