`
yuming.xiao
  • 浏览: 19376 次
  • 性别: Icon_minigender_1
  • 来自: 宁波
社区版块
存档分类
最新评论
文章列表
window→Preferences→MyEclipse→JSP→Encoding中选择ISO 10646/Unicode(UTF-8)→ok 这样设置之后,以后新建Jsp页面默认编码格式为UTF-8的,
package Gen; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class MyEclipseKeyGen { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium ...
我们都知道可以使用 [form].submit(); 来动态提交表单, 但使用点击<a>标签来提交表单, 会出现什么情况呢? 我们都知道,<a>有个链接属性 href, 而form也有一个页面请求属性 action,当两属性同时存在时,点击<a>当然会优先<a>的href链接。 但如果是<a href=”javascript:void(0);”></a>时,又会是什么情况呢? 实践证明IE7.0+ , FF3.0+, Opera9.6+ 均能正确处理, 忽略<a/>的href, 执行表单的submit动作, 唯 ...
<html> <head> <title>测试数字</title> <script> function onCheck(){ var numValue=document.getElementById("num").value; var index=-1; for(var i=0;i<numValue.length;i++){ var ch=numValue.charAt(i); if(ch>=0&&ch<=9){ index=-1; } ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; char ...
实体类UserInfo: package yu.entity; /** * 2011-3-18 11:00:28 * @author xiaoyuming * *用户实体类 */ public class UserInfo { private String UserName; private String sex; private int age; private String hobby; public UserInfo() { super(); } public String getUser ...
问题: 就是写HTML+JSP代码时有些中文,保存时提示sava could not be completed. Reason: some characters cannot be mapped using "ISO-8859-1" character encoding. Either change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding. 解决方法: 1.<%@ page ...
Global site tag (gtag.js) - Google Analytics