<!-- - You can change the compiler to "javac" or jikes. - The default is "internal" only because it's the most - likely to be available. --> <javac compiler="internal" args=""/> <!-- Security providers. - <security-provider> - com.sun.net.ssl.internal.ssl.Provider - </security-provider> --> <!-- creates the deploy directory for .ear expansion --> <ear-deploy path='deploy'/> <!-- creates the deploy directory for .rar expansion --> <resource-deploy path='deploy'/> <!-- creates a second deploy directory for .war expansion --> <web-app-deploy path='deploy'/> </host-default> <!-- includes the web-app-default for default web-app behavior --> <resin:include path="app-default.xml"/> <!-- configures the default host, matching any host name --> <host id='www.hc888.com'> <document-directory>/home/fuweb/wwwroot</document-directory> <!-- configures the root web-app --> <web-app id='/'> <!-- adds xsl to the search path --> <class-loader> <simple-loader path="$host-root/xsl"/> </class-loader> <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker"/> </web-app> </host> </server> </resin> 如果想自启动
在/usr/local/etc/rc.d 建一个ln 连接 ln -s resin.sh /usr/local/resin-3.0.4/bin/httpd.sh 后从启即可。让你www.hc888.com 目录支持jsp test.jsp 文件 <%@page language="java"%> 2+2=<%=2+2%> <head> <%@page language="java"%> 2+2=<%=2+2%> </head>
<body> |