部署到谷歌应用引擎后,我看到没有变化

时间:2018-01-13 10:04:25

标签: java google-app-engine netbeans

我已经使用Google App Engine建立了一个项目:http://podcom-191901.appspot.com/ (我没有支付Google Cloud服务的费用,我没有注册免费试用,而是播放了podcom-191901。我也收到了这些通知:

THIS

我正在遵循本指南:https://blog.idrsolutions.com/2015/09/how-to-use-the-google-app-engine-with-the-netbeans-ide/

我有

this

的index.jsp:

UIApplication.shared.keyWindow?.addSubview(blackView)```

的web.xml:

<%-- 
    Document   : index
    Created on : 01-13-2018, 03:51:10 AM
    Author     : Molina
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
    </body>
</html>

应用服务引擎-web.xml中:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>

当我“部署到Google App Engine”时,我收到以下消息: 阅读应用程序配置数据......

<?xml version="1.0" encoding="UTF-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://kenai.com/projects/nbappengine/downloads/download/schema/appengine-web.xsd appengine-web.xsd'>
    <application>podcom-191901</application>
    <version>1</version>
    <!--    <ssl-enabled>false</ssl-enabled>
    <sessions-enabled>true</sessions-enabled>
    -->
    <threadsafe>false</threadsafe>
</appengine-web-app>

但我仍然看不到页面http://podcom-191901.appspot.com/上的任何变化 它应该是“Hello World!”不是“你好,世界”

0 个答案:

没有答案