JSP first three chapters of the wrong problem finishing

Source: Internet
Author: User

    • A:                                                 
    • B:
    • C:
    • D:
      Files in the Web-inf directory cannot be accessed directly by the client.
The correct answer is C, you answer the D-answer error .Test analysis error correction set to collection
(Select an item)
14
    • A:
    • B:
    • C:
      Tomcat as a Web server, you can deploy a Web site to provide support for browser access, and you cannot deploy the C/s program
    • D:
The correct answer is C, you answer the D-answer error .Test analysis error correction set to collection
(Select an item)
15
    • A:
    • B:
    • C:
    • D:
      D The answer is wrong, because when the import guide package, different class files are separated by commas, should be: <% @page import= "java.util.*,java.text.*"%>
The correct answer is, D, you answered B .Test analysis error correction set to collection
(Select an item)
17
    • A:
    • B:
    • C:
    • D:
      This topic examines the JSP is the page forwarding. Because it is forwarding, you can get the value in the Request object on the a.jsp page. So the correct answer is B.
The correct answer is B, you're answering the D-answer error .Test analysis error correction set to collection
(select two items)
18
    • A:
    • B:
    • C:
    • D:
      Set the character encoding of the response: response.setcharacterencoding () or response.setcontenttype () answer ab correct
The correct answer is a, b , you're answering the question.Test analysis error correction set to collection
(Select an item)
24
    • A:
    • B:
    • Enter BDQN from the text box on the index.jsp page, click Submit and then logindo.jsp forward to loginsuccess.jsp to end the process.
    • C:
    • D:
The correct answer is B you answered C to answer the wrong Test analysis error correction set to collection
(Select an item)

Out.println ("*"); the contents of the output will not be wrapped in the page. If you want to change lines

Output <br> label required

    • A:
    • B:
    • C:
    • D:
The correct answer is a you answered B to answer the wrong Test analysis error correction set to collection
(Select an item)
31
    • A:
    • B:
    • C:
    • D:
The correct answer is a you answered D to answer the wrong Test analysis error correction set to collection
(Select an item)
33
    • A:
    • B:
    • C:
    • D:
    • First of all, the session is really to solve the problem that HTTP cannot maintain customer status, so the A option is correct, and the user information is part of the customer status, so a can see that B is wrong; Then, whether the information in the session is safe does not depend on where it is stored, It depends on the session implementation mechanism and the acquisition mechanism, and the session does not explicitly stipulate the size limit of its storage space, so C, D is not correct;
The correct answer is a you answered C to answer the wrong Test analysis error correction set to collection
(Select an item)
37
    • A:
    • B:
    • C:
    • D:
The correct answer is D, and you're answering C for the wrong answer.Test analysis error correction set to collection
(Select an item)
38
    • A:
    • B:
    • C:
    • D:
The correct answer is C you're answering a wrong answer.Test analysis error correction set to collection
(select two items)
39
    • A:
    • B:
    • C:
    • D:
The correct answer is c,d you answer is b,c answer the wrong Test analysis error correction set to collection
(select two items)
40
    • A:
    • B:
    • C:
    • D:
The correct answer is a, b , you're answering the question.Test analysis error correction set to collection
(select two items)
43
    • A:
    • B:
    • C:
    • D:
    • This topic examines the understanding of response object Settings encoding, Response.setcontenttype ("Text/html;charset=utf-8"), which is set to encode and browser using what encoding to open, and response.setcharacterencoding ("UTF-8"), refers to the setting of the encoding, so the browser may appear garbled problem, so the C, D option is wrong, so the answer is C, D
The correct answer is c,d you answer is a,d answer the wrong Test analysis error correction set to collection
(Select an item)
46
    • A:
    • B:
    • C:
    • D:
The correct answer is a you answered B to answer the wrong
<%int i=1;%> i is a local variable, after each refresh, and revert to 1<%!int J=1;%> J is a global variable, after each refresh, continue on the last result + + So the result should be 24
Test analysis error correction set to collection
(Select an item)
47
    • A:
    • B:
    • C:
    • D:
The correct answer is a you answered B to answer the wrong Test analysis error correction set to collection
(Select an item)
    • B:
    • C:
    • D:
    • This topic examines how to get form content in a JSP. One of the hobbies is that you can choose multiple, you need to use the Getparametervalues method to get, the return value type is a string array.
50
    • A:
    • B:
    • C:
    • D:
    • 1 syntax for writing cookies:

      Response.addcookie (Cookname);

      Response.sendredirect ("Address");

      2 Read cookie information:

      Request.getcookies ();

The correct answer is C, you're answering the B-answer error .

JSP first three chapters of the wrong problem finishing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.