ajax不能获取txt的中文 - Java / Web 开发
换成字母就可以。ajax实现菜单效果
<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<style type="text/css">
.menutop
{
color:#ccccff;
background-color:#0066ff;
text-decoration:underline;
cursor:hand;
border-right:#009999 thick double;
border-top:#009999 thick double;
border-left:#009999 thick double;
border-buttom:#009999 thick double;
}
.menulist{
color:#ff6600;
background-color:#33ccff;
display:none;
}
</style>
<script type="text/javascript">
function listmenu()
{
//judge if the menu is opened
var menudom=document.getElementById("menu");
//if unopened,get the data from server,else,hided the data
if(menudom.style.display=="none"||menudom.style.display=="")
{
//get the method of data from server
getData();
menudom.style.display="list-item";
}
else
{
menudom.style.display="none";
}
}
var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
function getData()
{
//the method about when the state is changed
xmlhttp.
相关问答:
如题,C/C++中的execl怎么调用写好的java程序,
execl("/opt/java1.5/bin/java","MyClass",NULL);
这样的不行哦。
不会.
运行java程序
找工具查看一下那个程序的命令行
搜索下:jni ......
怎么在控制台中输入类似下面的信息:
s1234 50
s1235 80
s1234 90
s1234 40
s1236 90
每当回车时 ......
我JSP的页面是:
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
要求:
1、具有2年以上的java开发工作经验,精通java;
2、熟悉Eclipse开发工具,熟悉WEB开发,具有两年以上Java开发经验,掌握面向对象的软件设计方法,
有Spring、Hibernate以及 ......