ICL Sales EXIMON ICL Sales EXIMON - 6 months ago 25
Apache Configuration Question

jsp files not working on subdomain

I have created new 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 It is showing plain text as under:

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
Request Method: <%=
request.getMethod() %> Servlet
Path: <%= request.getServletPath()

I have done following entries in 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">
<Context path="" reloadable="true" docBase="/home/example96/public_html/abc" debug="1"/>
<Context path="/manager" debug="0" privileged="true"

Please note jsp/java on my other subdomains are working fine on same server/domain.


I checked and noticed other subdomains they had a htaccess with the following text in them:

SetHandler jakarta-servlet

jsp files working now.