Has context-root teev hauv application.xml?

Cov txheej txheem:

Has context-root teev hauv application.xml?
Has context-root teev hauv application.xml?
Anonim

Thaum daim ntawv thov lub vev xaib raug xa mus rau hauv EAR cov ntaub ntawv EAR EAR cov ntaub ntawv EAR yog a tus qauv JAR cov ntaub ntawv (thiab yog li cov ntaub ntawv Zip) nrog ib qho. pob ntseg txuas ntxiv, nrog ib lossis ntau qhov nkag sawv cev rau cov qauv ntawm daim ntawv thov, thiab cov npe metadata hu ua META-INF uas muaj ib lossis ntau qhov kev piav qhia. https://en.wikipedia.org › wiki › EAR_(file_format)

EAR (file format) - Wikipedia

cov ntsiab lus hauv paus yog teev nyob rau hauv application. xml cov ntaub ntawv ntawm EAR, siv cov ntsiab lus ntsiab lus hauv paus hauv lub vev xaib. … Thaum kawg, yog tsis muaj cov ntsiab lus hauv paus ntsiab lus tshwm sim, cov ntsiab lus hauv paus ntsiab lus yuav yog lub hauv paus npe ntawm WAR cov ntaub ntawv.

Cov ntsiab lus hauv paus hauv daim ntawv thov xml yog dab tsi?

A cov ntsiab lus hauv paus txheeb xyuas cov ntaub ntawv Web application archive (WAR) hauv daim ntawv thov server. Cov ntsiab lus hauv paus ntsiab lus ntawm daim ntawv thov Web txiav txim siab uas URLs daim ntawv thov neeg rau zaub mov yuav xa mus rau koj daim ntawv thov web. Thaum MobileFabric teeb tsa, cov khoom yuav tsum tau ua 'WARs raug xa mus rau lub app server.

Lub ntsiab lus hauv paus ntawm daim ntawv thov yog dab tsi?

Cov ntsiab lus hauv paus rau daim ntawv thov txhais qhov chaw ntawm qhov module tuaj yeem nkag tau. Cov ntsiab lus hauv paus ntsiab lus yog ib feem ntawm qhov URL koj siv los txuas rau daim ntawv thov.

Cov ntsiab lus hauv paus ntsiab lus nyob qhov twg?

Ib lub hauv paus ntsiab lus rau txhua lub vev xaib yog txhais hauv daim ntawv thov xa tawm piav qhia thaum lub sijhawmthov sib dhos. Siv daim teb no los muab cov ntsiab lus sib txawv hauv paus rau lub vev xaib.

Kuv yuav hloov cov ntsiab lus hauv paus ntawm lub vev xaib li cas?

1.1 Right click on the project, select Properties, Web Project Settings, update cov ntsiab lus hauv paus ntawm no. 1.2 Tshem koj lub vev xaib app ntawm lub server thiab ntxiv nws rov qab. Cov ntsiab lus hauv paus ntsiab lus yuav tsum tau hloov kho. 1.3 Yog tias kauj ruam 2 ua tsis tiav, tshem tawm cov neeg rau zaub mov, tsim lub server tshiab thiab ntxiv rov qab lub vev xaib app.

Pom zoo: