小编emi*_*hem的帖子

openjdk-7-jre-headless VS openjdk-7-jre 有什么区别?

是什么区别openjdk-7-jre-headlessopenjdk-7-jre

当我java在 Ubuntu 中输入终端时,它建议openjdk-7-jre-headless不要openjdk-7-jre

openjdk

11
推荐指数
1
解决办法
7755
查看次数

Internet Explorer 8的Foundation 4网格支持

我正在使用最新的Zurb Foundation(撰写本文时为4.0.4).

我希望Internet Explorer能够使用它.这可能吗?

我试着改变CSS很多但似乎没有像Firefox那样使它的布局.

我尝试将列显示更改为内联,但它更破坏了布局.

我希望在FF中看起来像html的主要html如下所示:

<div class="row">
  <div class="large-6 columns">
    <label for="amount">Amount:</label>
    <input id="amount" type="text">
  </div>
  <div class="large-6 columns">
    <label for="isbn">ISBN:</label>
    <input maxlength="13" id="isbn" type="text">
  </div>
</div>
Run Code Online (Sandbox Code Playgroud)

css internet-explorer zurb-foundation

8
推荐指数
1
解决办法
1万
查看次数

HTTP 302重定向不携带application/x-www-form-urlencoded

当用户提交application/x-www-form-urlencoded的表单并且我的网页收到它时,它会将用户重定向到另一个URL.问题是webbrowser不会再次将application/x-www-form-urlencoded发送到新的url.

有没有办法强制webbrowser再次发送application/x-www-form-urlencoded?

function redirectTo(request, response, site){
    try {
            response.writeHead('302', {'Location': site});
            console.log("redirecting to " + site);
        }
    } catch(ex) {
        // the headers were already sent - we can't redirect them
        console.error("Failed to send redirect", ex);
    }
    response.end();
}
Run Code Online (Sandbox Code Playgroud)

这是代码.

forms redirect http node.js

0
推荐指数
1
解决办法
855
查看次数