天天看點

【JSP開發】擷取web應用的初始化參數

在web.xml檔案中配置:

ServletDemo7.java:

結果:

data=XXXXXX

data1=YYYYYY

data2=ZZZZZZ