Cov txheej txheem:

Eclipse khaws cov ntaub ntawv JSP qhov twg?
Eclipse khaws cov ntaub ntawv JSP qhov twg?

Video: Eclipse khaws cov ntaub ntawv JSP qhov twg?

Video: Eclipse khaws cov ntaub ntawv JSP qhov twg?
Video: koom ib lav ntaub hnub av Qua By Dawb yaj nkauj tawm tshiab 2022/ 2023 2024, Kaum ib hlis
Anonim

Hnub Thursday, Plaub Hlis 4, 2013

  • Conf yog tib yam li Same as Servers folder hauv koj dab noj hnub chaw ua haujlwm.
  • cov ntaub ntawv ua haujlwm muaj cov servlet ntaub ntawv ntawm jsp ua . "workCatalinalocalhostYourProjectNameorgapache jsp ua "
  • jsp ua folder muaj cov java ntaub ntawv thiab chav kawm ntaub ntawv . Qhib Java ntaub ntawv hauv dab noj hnub , qhov no yog compiled daim ntawv ntawm koj jsp cov .

Hauv qhov no, JSP cov ntaub ntawv khaws cia nyob qhov twg?

Cov JSP txhais cov ntaub ntawv khaws cia (hauv Tomcat) hauv /work/Catalina/localhost/[your_app_context]/org/apache/ jsp ua /. Yuav tsum kuaj xyuas hauv lwm lub thawv lossis lub vev xaib servers.

Tsis tas li ntawd, phau ntawv twg yog siv hauv JSP muab tso ua ke? Cov sau JSP cov ntaub ntawv yog los ntawm lub neej ntawd muaj nyob hauv / ua haujlwm nplaub tshev ntawm Tomcat ib puag ncig. Yuav tsum muaj subfolder Catalina uas nyob rau hauv lem muaj ib tug subfolder sawv cev rau lub npe sau uas defaults rau localhost. Nyob rau hauv lem yuav tsum muaj qhov project nplaub tshev uas nyob rau hauv lem muaj pob hierarchy org.

Ib tug kuj yuav nug, dab ntxwg nyoog khaws cov chav kawm nyob qhov twg?

java file, Dab tuag yuav sau ua ke nws in a. chav kawm cov ntaub ntawv yog tias tsis muaj qhov yuam kev compiler. Feem ntau koj tuaj yeem pom cov ntaub ntawv no nyob rau hauv subdirectory ntawm koj qhov project. Tshwj xeeb, nws yuav nyob hauv bin/org/odata4j/tomcat vim koj tau tshaj tawm koj chav kawm mus koom lub org.

Qhov twg yog sau JSP hauv WebLogic?

3 Teb. Yog WebLogic yog compiling JSP (piv txwv li yog tias koj tsis ua ntej lawv), lawv yuav tsum nyob hauv qab domain_name/servers/server-name-1/tmp/_WL_user.

Pom zoo: