Redian新闻
>
Re: 一个最近完成的JAVA项目的反思。
avatar
Re: 一个最近完成的JAVA项目的反思。# Java - 爪哇娇娃
m*i
1

That's not JServ. It is AJP12 connector only. In future, you can
install Tomcat as a standard Apache module.
I feel it is not so complicated. If you run Tomcat + Apache, any *.jsp
under Apache's htdocs and its subdirectories will be treated as Tomcat
files----If you've configured them correctly.
You can also deploy your JSPs as WAR files.
You have to compile some native C code which are stored in jakarta-tomcat/
src/native/nt_service
avatar
m*i
2

No. What you need do, is to add followings into Apache's httpd.conf
LoadModule jserv_module libexec/mod_jserv.so
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice
ApJServDefaultPort 8007
AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
Restart your Apache and Tomcat, then all *.jsp files under Apache's
document diectories will be handled by tomcat.
avatar
m*e
3
A better way is to use "include" to include the tomcat-apache.conf generated
by TomCat.

【在 m**i 的大作中提到】
:
: No. What you need do, is to add followings into Apache's httpd.conf
: LoadModule jserv_module libexec/mod_jserv.so
: ApJServManual on
: ApJServDefaultProtocol ajpv12
: ApJServSecretKey DISABLED
: ApJServMountCopy on
: ApJServLogLevel notice
: ApJServDefaultPort 8007
: AddType test/jsp .jsp

avatar
m*i
4

Yes, a pure engine. You know, tomcat is a stand alone application.
Catalina will be an engine only (like Gecko of Mozilla). Catalina is
the core of new Tomcat, but it can be treated as a seperate
engine, and can be hooked into IDE tools.
I don't know JetSpeed. Sorry. Actually, I don't like java.apache.org and
its projects:-)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。