I am making a JSP program and all it does is show the date:
<html>
<body>
<%
System.out.println( "Evaluating date now" );
java.util.Date date = new java.util.Date();
%>
<p>Hello, the date is
<%
out.println( date );
out.println( "<BR>Your machine's address is " );
out.println(request.getRemoteHost());
%>
</p>
</body>
</html>
On wordpress, all the JSP script shows up as normal text and I don’t know why.
Short answer is no. JSP files must be run on an application server such as
tomcat
. The information here might be helpful.