问个jsp 的小问题 - Java / Web 开发
用myeclipse 写页面的时候
用到一些html的标签 比如<tr> <th> <td>
为什么会有叹号标志提示 Invalid location of tag (tr)
程序运行也没什么问题的 ,为什么会有这样的提示呢?
比如
<tr>
<th><label for="bdaynew">生日</label></th>
<td><input type="text" name="bdaynew" id="bdaynew" size="25" onclick="showcalendar(event, this)" onfocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" value="0000-00-00" class="txt" /></td>
</tr>
myeclipse认为你的<tr>不在正确的位置.
那应该在什么位置呢
顶,来分走人/
把这个提示功能去掉,别理它。
);if(this.value=='0000-00-00')this.value=''" value="0000-00-00" class="txt"
这段是JavaScript脚本不能写到html中
<html>
<title></title>
<script>
function showcalendar(event,fdsa){
alert("aa");
}
</script>
<body>
<tr>
<th><label for="bdaynew">生日</label></th>
<td><input type="text" name="bdaynew" id="bdaynew" size="25" value="0000-00-00" onclick="showcalendar(event, this)" onfocus="showcalendar(event, this);if(this.value=='0000-
相关问答:
我JSP的页面是:
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
题目:
有1,2,3,4,5,6六个数字排序,用java程序计算出排序的种类。
要求:一,以4开头
二,2,3不能相邻
三,不能以5开头
希望大家能即 ......
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......
JSP中要从数据库里面读取数据 每页显示5条数据,要进行翻页,还要返回前一页 该怎么实现啊
用的什么数据库呢???
MYSQL
....谢谢 我先看看代码
http://my.donews.com/benz/2006/10/21/YnmQXKsKWNgKiTJ ......