gpt4 book ai didi

java - Web 开始创建带有过时元描述的 xml

转载 作者:太空宇宙 更新时间:2023-11-04 08:36:50 25 4
gpt4 key购买 nike

我是 java Web Start 新手,正在尝试在我的服务器上设置 jnlp 下载。

Web 启动似乎启动正常,但出现以下错误:

WARNING: <meta> tag is not closed correctly Exception parsing xml at line 3

第 3 行仅包含元描述。最初我使用了 xml 解析可能反对的一些字符,这些字符是“-”和“(”“)”。由于怀疑这些字符在元描述中可能无效,因此我将它们从网页上的元和 jnlp 脚本中删除。

但是,当我尝试运行 Web start 时,它仍然有第 3 行:

<head><title>xxxxxx</title><meta name="author" content="xxxxx"><meta name="keywords" content="xxxxxx xxxxxxxx xxxxxxxxx"><meta name="description" content="xxxx (xxx) xxxxx, xxxx, 2-12 players."></head>

换句话说,它没有显示我更新的元信息。从哪里获取这个旧版本?如何更新?

最重要的是,字符“- ( )”是否会导致我的问题?

这是我网站的链接。请注意,它还没有完全准备好上线! fantasyhexwars.com/getting_started.html

最佳答案

Quite possibly something is configured wrong!

看来是这样。

http://fantasyhexwars.com/include/launch.jnlp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html lang="en">
<head><title>Fantasy Hex Wars</title><meta name="author" content="Mark Keen"><meta name="keywords" content="strategy fantasy hex wars multiplayer war game turn based"><meta name="description" content="An online, turn-based, strategy game for up to 12 players."><link rel="shortcut icon" href="http://91.223.16.102/httpdocs/favicon.ico"></head>
<frameset rows="100%,*">
<frame title="http://91.223.16.102/include/launch.jnlp" src="http://91.223.16.102/include/launch.jnlp" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto">
<frame title="empty frame" frameborder="0" scrolling="no" noresize="noresize">
<noframes>Sorry, you don"t appear to have frame support.
Go here instead - <a href="http://91.223.16.102/include/launch.jnlp">Fantasy Hex Wars</a></noframes>
</frameset>
</html>

http://91.223.16.102/include/launch.jnlp

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="http://fantasyhexwars.com/httpdocs/include" href="launch.jnlp" spec="1.0+">
<information>
<title>Fantasy Hex Wars</title>
<vendor>Fysh Games</vendor>
<homepage href="fantasyhexwars.com"/>
<description>A turn-based, online, multiplayer strategy game.</description>
<description kind="short">Fantasy Hex Wars</description>

</information>
<update check="always"/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="FantasyHexWar.jar" main="true"/>


<jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
<jar href="lib/beansbinding-1.2.1.jar"/>
<jar href="lib/mail.jar"/>
</resources>
<application-desc main-class="fantasyhexwar.FantasyHexWarApp">

</application-desc>
</jnlp>

关于java - Web 开始创建带有过时元描述的 xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6161516/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com