aptana studio安装好还需要怎么配置,为什么运行不了javascript工程?

时间:2022-02-20 03:49:16
web brower 下的brower executable配置如下:
brower executable   ----C:\Program Files\Mozilla Firefox\firefox.exe
选得服务器也是火狐浏览器,firebug也下了,为什么就不能运行呢?
ps:在IE中也是同样的问题,提示:无法连接

Firefox 无法建立到 127.0.0.1:8020 服务器的连接。

2 个解决方案

#1


test.htm文件源代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>New Web Project</title>
        <script type="text/javascript" charset="utf-8">
            window.alert("helloworld!");
        </script>
    </head>
    <body>
        <h1>New Web Project Page</h1>
    </body>
</html>

#2


我的也是这样,运行的简单的Js的时候网页倒是打开了,但只是空白没有小框

#1


test.htm文件源代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>New Web Project</title>
        <script type="text/javascript" charset="utf-8">
            window.alert("helloworld!");
        </script>
    </head>
    <body>
        <h1>New Web Project Page</h1>
    </body>
</html>

#2


我的也是这样,运行的简单的Js的时候网页倒是打开了,但只是空白没有小框