在JSP中,只有一行代码:<%=’A’+’B’%>,运行将输出( )。
a) A+B b) AB
c) 131 d) 错误信息,因为表达式是错误的
给定JSP程序源码如下,该JSP运行后输出的结果是( )。
<% int count =1;%> Count: <% ++count; %>
a) Count:1 b) Count:2
c) 1:2 d) Count:
在网页中最为常用的两种图像格式是( )。
A.JPEG和GIF B.JPEG和PSD C.GIF和BMP D.BMP和PSD
在two.jsp中使用( )代码片段可以输出参数location的值。
a)
b)
c) <%=request.getAttribute("location")%>
d) <%=request.getParameter("location")%>