题目内容

The if-else chain can have at most 100 if statements.

A. 对
B. 错

查看答案
更多问题

假设d:\jxust是一个服务目录,其虚拟目录是jxlg。exam.jsp保存在jxust的子目录xp中,假设Tomcat服务器的端口为8080,则正确访问exam.jsp的方式是:( )

A. http://127.0.0.1:8080/xp/exam.jsp
B. http://127.0.0.1:8080/jxust/xp/exam.jsp
C. http://127.0.0.1:8080/jxlg/exam.jsp
D. http://127.0.0.1:8080/jxlg/xp/exam.jsp

假设d:\jxlg是一个服务目录,其虚拟目录是exam。test.jsp保存在jxlg子目录ppp中,假设Tomcat服务器的端口为8080,则正确访问index.jsp的方式是:( )

A. http://127.0.0.1:8080/ppp/test.jsp
B. http://127.0.0.1:8080/exam/ppp/test.jsp
C. http://127.0.0.1:8080/jxlg/ppp/test.jsp
D. http://127.0.0.1:8080/exam/test.jsp

设d:\myapp是一个Web服务目录,其虚拟目录是myweb。login.jsp保存在myapp子目录log中,假设Tomcat服务器的端口为8080,则正确访问login.jsp的方式是:( )

A. http://127.0.0.1:8080/myapp/log/login.jsp
B. http://127.0.0.1:8080/log/login.jsp
C. http://127.0.0.1:8080/myweb/log/login.jsp
D. http://127.0.0.1:8080/myweb/login.jsp

某JSP页面表单包含如下复选框,目标页面获取该表单数据的正确语句是( )。绘画音乐运动

A. String a=request.getParameter("hobby ");
B. String a=request.getParameter("checkbox”);
C. String a[]=request.getParameterValues("hobby ");
D. String a[]=request.getParameterValues("checkbox");

答案查题题库