Muaj pes tsawg yam khoom ntawm servlet raug tsim?
Muaj pes tsawg yam khoom ntawm servlet raug tsim?

Video: Muaj pes tsawg yam khoom ntawm servlet raug tsim?

Video: Muaj pes tsawg yam khoom ntawm servlet raug tsim?
Video: Kuv Hmoov Phem Los Koj Siab Phem-LOKY(Official MV ) 2024, Kaum ib hlis
Anonim

1) Muaj pes tsawg yam khoom ntawm ib lub servlet yog tsim ? Tsuas yog ib qho xwb khoom thaum lub sijhawm thov thawj zaug los ntawm servlet los yog lub vev xaib.

Raws li txoj cai, pes tsawg zaus ntawm servlet raug tsim?

Ob Piv txwv ntawm Servlet yuav tau tsim yog ib yam servlet chav kawm yog mapped rau ob Servlets hauv web. xml siv < servlet -class> element. Hauv qhov xwm txheej zoo li no, txhua qhov piv txwv yuav muaj lawv daim ntawv theej ntawm cov piv txwv sib txawv tab sis lawv yuav qhia tsuas yog ib daim qauv ntawm qhov hloov pauv zoo li qub.

Tsis tas li ntawd, peb puas tuaj yeem tsim cov khoom ntawm Servlet? Peb tuaj yeem tsim ib khoom ntawm peb servlet chav kawm. Tab sis vim servlet kev ua haujlwm nyob ntawm servlet cov ntsiab lus, thov, teb, thiab lwm yam muab los ntawm lub web ntim, tsis muaj dab tsi yuav tau txais los ntawm tsim ib sab nraum lub thawv ib puag ncig. Hauv ib kab lus - Yog ua li ntawd, peb tsis tuaj yeem cia siab tias yuav ua haujlwm li ib servlet.

Hais txog qhov no, leej twg yog lub luag haujlwm tsim khoom ntawm Servlet?

Lub web thawv los yog servlet thawv yog lub luag haujlwm rau tsim tus servlet khoom.

Kev siv Servlet yog dab tsi?

Lub servlet yog ib Java programming lus chav kawm uas yog siv los txuas ntxiv cov peev xwm ntawm cov servers uas host cov ntawv thov nkag los ntawm kev thov- teb cov qauv kev ua haujlwm. Txawm hais tias servlets tuaj yeem teb rau txhua hom kev thov, lawv feem ntau siv los txuas ntxiv cov ntawv thov los ntawm lub vev xaib servers.

Pom zoo: