JSP程序中的日期控件调用问题 10

为什么JSP程序中未指定日期控件对象.js,但是仍能使用日期控件对象。程序见下<%@pagelanguage="java"import="java.util.*"cont... 为什么JSP程序中未指定日期控件对象.js,但是仍能使用日期控件对象。程序见下<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312" %><%@ include file="iframe/head.jsp" %><jsp:useBean id="guestbean" class="com.bean.GuestBookBean" scope="page" /><%String message = (String)request.getAttribute("message"); if(message == null){ message = ""; } if (!message.trim().equals("")){ out.println("<script language='javascript'>"); out.println("alert('"+message+"');"); out.println("</script>"); } request.removeAttribute("message");%><style type="text/css"><!--.STYLE_C1 {font-size: 18px; font-family: "宋体"; font-weight: bold; }.STYLE_C2 {font-family: Calibri; font-size: 16px; }.STYLE_C3 {font-family: Calibri}--></style><p> </p><font color="#0000FF" style="font-family:宋体;font-size:18px;font-weight:bold">>>票务查询</font><table cellspacing="0" cellpadding="0" width="100%" border="0"><FORM name="form1" action="<%=basePath%>sinfo.jsp" method="post" ><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 style="border:1px solid #0080FF"> <tbody> <tr> <th width="43%" height="10"></th> </tr> <tr> <th width="40%" height="30" align="right" valign="middle" class="STYLE_C1">时 间<span class="STYLE_C3">: </span></th> <th height="30" align="left" valign="middle" class="STYLE_C2"> <INPUT class="STYLE_C2" name="stime" maxlength=24 size=20 readonly onclick="SelectDate(this,'yyyy-MM-dd')" this.Txt_Date.Attributes["onclick"] = "SelectDate(this,'yyyy-MM-dd')";> </th> </tr> <tr> <th width="43%" height="30" align="right" valign="middle" class="STYLE_C1">出发站<span class="STYLE_C3">: </span></th> <th height="30" align="left" valign="middle" class="STYLE_C2"><input name="type" class="STYLE_C2" maxlength="20" /></th> </tr> <tr> <th width="40%" height="30" align="right" valign="middle"><span class="STYLE_C1">到达站<span class="STYLE_C3">: </span></span></th> <th height="30" align="left" valign="middle" class="STYLE_C2"><input name="splace" class="STYLE_C2" maxlength="20"></th> </tr> <tr> <td width="24%" height="30"> </td> <td height="30" align="left"><input type="submit" value="提 交" name="Submit" style="width:169px;height:25px;border-radius:5px;box-shadow:1px 1px 1px;font-family:黑体;font-size:15px;"/></td> </tr> <tr> <th width="43%" height="10"></th> </tr> </tbody></table><p> </p><p> <%@ include file="iframe/foot.jsp"%></p> 展开
 我来答
hefeixinhua9
2018-10-29 · TA获得超过1904个赞
知道大有可为答主
回答量:2466
采纳率:70%
帮助的人:345万
展开全部
1、相对路径-顾名思义,相对路径就是相对于当前文件的路径。网页中一般表示路径使用这个方法。
2、绝对路径-绝对路径就是你的主页上的文件或目录在硬盘上真正的路径。绝对路径就是你的主页上的文件或目录在硬盘上真正的路径,比如,你的Perl 程序是存放在 c:/apache/cgi-bin 下的,那么 c:/apache/cgi-bin就是cgi-bin目录的绝对路径
在网络中,以http开头的链接都是绝对路径,绝对路径就是你的主页上的文件或目录在硬盘上真正的路径,绝对路径一般在CGI程序的路径配置中经常用到,而在制作网页中实际很少用到。
二、相对路径使用的特殊符号
以下为建立路径所使用的几个特殊符号,及其所代表的意义。
"./":代表目前所在的目录。
"../":代表上一层目录。
以"/"开头:代表根目录
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式