Z
Z
Zakharov Alexander2016-05-19 16:16:42
Java
Zakharov Alexander, 2016-05-19 16:16:42

Java webapp (.war) external web.xml?

Hello.
Is it possible to take the web.xml application descriptor file out of the .war? For example, the context.xml file can be put in [tomcat]/conf/Catalina/localhost/[appname].xml. Can you do a similar trick with web.xml?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fat Lorrie, 2016-05-19
@AlexZaharow

There, it seems, you can set a global DD with global settings ( $catalina.home/conf/web.xml) in order to fumble them in applications and inherit your configs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question