开发者

to get the path of a war file deployed in the jboss SOA server

开发者 https://www.devze.com 2023-04-11 17:20 出处:网络
i want the path of the war file that is deployed in the jboss SOA server . as the file can be deployed in any of the folder

i want the path of the war file that is deployed in the jboss SOA server . as the file can be deployed in any of the folder

all, default, minimal, production, standard, web

so i dont want to hardcode my path , w开发者_开发技巧henever i need to find a file in any of these folder . please help me in the following matter .

i have one more question as when a war file is deployed can we put a xml file with it external to the war file.


You might not be able to as the .war file will be unpacked before the web application is started and the web application will therefore not have, nor need, knowledge of the .war file it was previously archived in.

0

精彩评论

暂无评论...
验证码 换一张
取 消