[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fM5k4lU1n7SdMnwhIJTb-Ta-NVCPuDQpD7KxMZEzDIgU":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-09-27 11:11:12",160340578,[8,9,10,11],"PHP","ASP","JavaScript","JSP",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},154,"9499ba3fd128e3f5320f15bb6b53af15","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F3797f8b1dad5fdb978a9788b60ed933f.jpg","Java Web应用开发","work_37129154","作业2","下列选项中不属于动态网站技术的是( )",[21,26,35,44,53,62,71,80,89,97],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],160340580,[30,31,32,33],"Java语言","HTML代码","Servlet","JQuery","JSP在服务器中进行编译时,将首先被转译成( )",{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":24,"type":25},[],160340582,[39,40,41,42],"必须是HttpServlet的子类","通常需要覆盖doGet()和doPost()方法或其中之一","通常需要覆盖service()方法","通常需要在web.xml文件中声明&lt;servlet&gt;和&lt;servlet-mapping&gt;两个元素","下列关于Servlet的编写方式不正确的是( )",{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":24,"type":25},[],160340584,[48,49,50,51],"在浏览器中直接访问http:\u002F\u002Flocalhost:8080\u002F网站名\u002Fservlet\u002FTestServlet","&lt;form action=&quot;\u002Fservlet\u002FTestServlet &quot;&gt;提交此表单","&lt;form action=&quot;\u002Fservlet\u002FTestServlet &quot; method=&quot;post&quot;&gt; 提交此表单","&lt;form id=&quot;form1&quot;&gt;,在JavaScript中执行下述代码:document.getElementById(&quot;forml&quot;).action=&quot;\u002Fservlet\u002FTestServlet &quot;;document.getElementById(&quot;form1&quot;).method=&quot;post&quot;;document.getElementById(&quot;forml&quot;).submit()","下列方式中不可以执行TestServlet(路径为\u002Fservlet\u002FTestServlet)的doPost()方法的是( )",{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":24,"type":25},[],160340586,[57,58,59,60],"request.setCharacterEncoding(&quot;GBK&quot;)","request.setContentType(&quot;text\u002Fhtml;charset=GBK&quot;)","response.setCharacterEncoding(&quot;GBK&quot;)","response.setContentType(&quot;text\u002Fhtml;charset=GBK&quot;)","用户使用POST方式提交的数据中存在汉字(使用GBK字符集),在Servlet中需要使用下述( )语句处理",{"answer":63,"createTime":5,"id":64,"options":65,"question":70,"source":24,"type":25},[],160340588,[66,67,68,69],"80","8080","8088","8000","Tomcat的默认端口号是( )",{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":24,"type":25},[],160340590,[75,76,77,78],"setParameter( )和getParameter( )","setAttribute( )和getAttribute( )","addAttribute( )和getAttribute( )","set( )和get( )","在HttpSession中写入和读取数据的方法是( )",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":24,"type":25},[],160340592,[84,85,86,87],"JSP在容器启动时会被翻译成Servlet,并编译成字节码文件","JSP在第一次被请求时会被翻译成Servlet,并编译成字节码文件","在第二次请求时,将不再执行翻译步骤","如果JSP页面有错误,将不执行翻译步骤","下列关于JSP执行过程中的说法,不正确的是( )",{"answer":90,"createTime":5,"id":91,"options":92,"question":96,"source":24,"type":25},[],160340594,[93,94,95,10],"脚本","声明","表达式","下列不属于JSP构成元素的是( )",{"answer":98,"createTime":5,"id":99,"options":100,"question":105,"source":24,"type":25},[],160340596,[101,102,103,104],"&lt;!-- 注释 --&gt;","&lt;% 注释 %&gt;","&lt;%--注释 --%&gt;","&lt;%! 注释 %&gt;","下列注释方式可以在JSP中使用并且客户端无法查看到的是( )"]