情况:使用阿里云ECS服务器。服务端打开WampServer后,在服务端能通过127.0.0.1和localhost访问到WampServer的首页。阿里云已经给了外网IP,不需要路由器再做端口映射。搜索了网上的方法大同小异,主要是改Apache的httpd.conf,包括2.2(旧版)和2.4(新版)Apache配置文件写法的差异性。改过AllowOverrideAll和Requireallgr
在使用request.getRequestDispatcher("Login.html").include(request,response);时,中文显示出现了乱码,在dopost方法里也已经进行了设置,response.setCharacterEncoding("utf-8");response.setContentType("text/htm
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号