jsp小问题

[复制链接]
查看11 | 回复2 | 2009-4-13 10:16:05 | 显示全部楼层 |阅读模式
to take advangtage of the capabilities of modern browsers that use web standards,such as XHTML and CSS,your web application is being converted from simple JSP pages to JSP Document format.However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file.This file is included in several web forms to create screen-specific validation functions and are included in these pages with the following statement:


Which JSP code snippet declares that this JSP Document is a JavaScript file?
A.
B.
C.
D.
E. No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in thetag.
answer :D
请问A怎么不对了? A和D不是一样的吗??
2楼可以说具体点吗

回复

使用道具 举报

千问 | 2009-4-13 10:16:05 | 显示全部楼层
不一样了..jsp是服务端的.js是客户端的...
回复

使用道具 举报

千问 | 2009-4-13 10:16:05 | 显示全部楼层
是java代码的开始结尾标志...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行