jsp 个文件在子域上不起作用

jsp files not working on subdomain

我创建了新的子域 http://abc.example.com successfully. But jsp files not working, I mean java is not loaded i.e. http://abc.example.com/jsptest.jsp 它显示纯文本如下:

Test JSP page

Sample Application JSP Page

This is the output of a JSP page that is part of the Hello, World application. It displays several useful values from the requestwe are currently processing. Request Method: <%= request.getMethod() %> Servlet Path: <%= request.getServletPath() %>

我在 sftp://root@example.com/usr/local/jakarta/apache-tomcat-5.5.36/conf/server.xml

中完成了以下条目
<Host name="abc.example.com" appBase="/home/example96/public_html/abc">
          <Alias>www.abc.example.com</Alias> 
          <Context path="" reloadable="true" docBase="/home/example96/public_html/abc" debug="1"/>
          <Context path="/manager" debug="0" privileged="true"
              docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
          </Context>
       </Host>

请注意我的其他子域上的 jsp/java 在相同的 server/domain.

上工作正常

我检查并注意到其他子域有一个 htaccess,其中包含以下文本:

SetHandler jakarta-servlet
SetEnv JK_WORKER_NAME ajp13

jsp 个文件正在运行。