公司要做一个WAP网站,要在本机上做好,测试好,然后传到网上,怎么做?

咏帆 2004-11-22 08:50:35
公司要做一个WAP网站,要在本机上做好,测试好,然后传到网上

具体怎么做,要装哪些软件?

最好能给个例子子

(我今天到网上找了下,装了个Winwap,设计好IIS后,找了个wml文件,但是浏览不了,

听别人说,还要装JDK,是吗?
...全文
194 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
go_my_sky 2004-11-27
  • 打赏
  • 举报
回复
怎么设置好IIS,然后才可以浏览wml文件啊?
angel7532 2004-11-24
  • 打赏
  • 举报
回复
我是用TOMCAT+JSP里面是<WML>标记。IIS能否支持.WML文件我就不清楚了。
http://www.waptx.com/
咏帆 2004-11-23
  • 打赏
  • 举报
回复
这个问题搞定。。。。。

大家能给点WAP方面好点的网站和教程不?

现在哪有免费的WAP空间来放自己做的网站
咏帆 2004-11-23
  • 打赏
  • 举报
回复
源文件是:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//wapforun//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<xml>
<card id="card1" title="Title">
<P>
<!--Write your card implementation here.-->
Hello World!!
</P>
</card>
</xml>



下面是错误提示,


无法获得 URLhttp://192.168.1.40/wap/index.wml
HTTP 出错:406 (No acceptable objects were found)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html dir=ltr><head><style> a:link {font:9pt/11pt 宋体; color:FF0000} a:visited {font:9pt/11pt 宋体; color:#4e4e4e}</style><META NAME="ROBOTS" CONTENT="NOINDEX"><title>无法显示资源</title><META HTTP-EQUIV="Content-Type" Content="text-html; charset=gb2312"><META NAME="MS.LOCALE" CONTENT="ZH-CN"></head><script>function Homepage(){<!-- // in real bits, urls get returned to our script like this: // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm//For testing use DocURL="res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm" DocURL=document.URL;//this is where the http or https will be, as found by searching for :// but skipping the res:// protocolIndex=DocURL.indexOf("://",4);//this finds the ending slash for the domain server serverIndex=DocURL.indexOf("/",protocolIndex + 3);//for the href, we need a valid URL to the domain. We search for the # symbol to find the begining //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker. //urlresult=DocURL.substring(protocolIndex - 4,serverIndex); BeginURL=DocURL.indexOf("#",1) + 1; urlresult=DocURL.substring(BeginURL,serverIndex);//for display, we need to skip after http://, and go to the next slash displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex); InsertElementAnchor(urlresult, displayresult); }function HtmlEncode(text) { return text.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, '>'); }function TagAttrib(name, value) { return ' '+name+'="'+HtmlEncode(value)+'"'; }function PrintTag(tagName, needCloseTag, attrib, inner){ document.write( '<" + tagName + attrib + ">' + HtmlEncode(inner) ); if (needCloseTag) document.write( '</" + tagName +">' ); }function URI(href) { IEVer = window.navigator.appVersion; IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ? encodeURI(href) : escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';'); }function InsertElementAnchor(href, text) { PrintTag('A', true, TagAttrib('HREF', URI(href)), text); }//--></script><body bgcolor="FFFFFF"><table width="410" cellpadding="3" cellspacing="5"><tr><td align="left" valign="middle" width="360"><h1 style="COLOR:000000; FONT: 12pt/15pt 宋体"><!--Problem-->无法显示资源</h1></td></tr><tr><td width="400" colspan="2"> <font style="font:9pt/10pt 宋体; color:000000">浏览器无法打开您正在寻找的资源。</font></td></tr><tr><td width="400" colspan="2"> <font style="COLOR:000000; FONT: 9pt/11pt 宋体"><hr color="#C0C0C0" noshade><ul><li>单击<a href="javascript:history.back(1)">后退</a>按钮尝试其他链接。 </li><li>如果您确信应该能够查看该目录或网页,请与 Web 站点管理员联系,其电子邮件地址或电话号码请参阅 <script><!-- if (!((window.navigator.userAgent.indexOf("MSIE") > 0) && (window.navigator.appVersion.charAt(0) == "2"))) { Homepage(); } //--></script> 主页。</li></ul><h2 style="COLOR:000000; FONT: 9pt/11pt 宋体">HTTP 406 - 无法接受<br> Internet 信息服务</h2><hr color="#C0C0C0" noshade><p>技术信息(支持个人)</p><ul><li>详细信息:<br><a href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&pid=&ID=406&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3=" target="_blank">Microsoft 支持</a></li></ul></font></td></tr></table></body></html>
Eric1006 2004-11-23
  • 打赏
  • 举报
回复
浏览不了是什么意思?报什么错误?
咏帆 2004-11-22
  • 打赏
  • 举报
回复
自己先顶了

希望知道的,帮个忙,万分感谢

790

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 其他移动相关
社区管理员
  • 移动开发其他问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧