[英].jsp page not working with Google App Engine
I have built a path from Eclipse to the home directory of the jdk. 我已经建立了从Eclipse到jdk主目录的路径。 As you can see here: 如您所见:
Below is my index page that is first loaded when I start my server on localhost. 以下是我在本地主机上启动服务器时首先加载的索引页面。
The jsp file is not displaying properly as it lets the user see the actual code. jsp文件无法正确显示,因为它会让用户看到实际的代码。 Is there something else I need to do? 还有什么我需要做的吗?
// index.jsp //
<%@ page language="java" %>
<%@ page import="javax.servlet.http.HttpServlet" %>
<html>
<body>
<h1>Welcome! </h1>
<a href="http://localhost:8888/viewfiles" />View Files</a>
<a href="http://localhost:8888/upload.jsp" />Upload Files</a>
<p>
Today's date: <%= (new java.util.Date()).toLocaleString()%>
</p>
</body>
</html>
A couple of things to check: 需要检查的几件事:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.