QUESTION 6
1. |
a and b above |
|
2. |
a, b, and c above |
|
3. |
convert all HTML pages in the application to JSPs |
|
4. |
use the encodeURL method to encode all URLs in the servlets |
|
5. |
use the encodeURL method to encode all URLs in the JSPs |
QUESTION 7
1. |
Foxfire or Netscape |
|
2. |
NetBeans or Eclipse |
|
3. |
Tomcat or Apache |
|
4. |
FileZilla or CuteFTP |
QUESTION 8
1. |
WEB-INF\lib |
|
2. |
WEB-INF\servlets |
|
3. |
WEB-INF |
|
4. |
WEB-INF\classes |
QUESTION 6
1. |
a and b above |
|
2. |
a, b, and c above |
|
3. |
convert all HTML pages in the application to JSPs |
|
4. |
use the encodeURL method to encode all URLs in the servlets |
|
5. |
use the encodeURL method to encode all URLs in the JSPs |
QUESTION 7
1. |
Foxfire or Netscape |
|
2. |
NetBeans or Eclipse |
|
3. |
Tomcat or Apache |
|
4. |
FileZilla or CuteFTP |
QUESTION 8
1. |
WEB-INF\lib |
|
2. |
WEB-INF\servlets |
|
3. |
WEB-INF |
|
4. |
WEB-INF\classes |
QUESTION 12
1. |
the request and response objects |
|
2. |
the request, response, ServletContext, and ServletException objects |
|
3. |
the request and ServletContext objects |
|
4. |
the request, response, and ServletContext objects |
QUESTION 13
1. |
the doStartTag method should return EVAL_BODY_BUFFERED |
|
2. |
the doInitBody method should return EVAL_BODY_INCLUDE |
|
3. |
the doEndTag method should return EVAL_BODY_INCLUDE |
|
4. |
the doInitBody method should return EVAL_BODY_BUFFERED |
QUESTION 16
1. |
span multiple rows |
|
2. |
span multiple rows or columns |
|
3. |
span just the heading columns |
|
4. |
span multiple columns |
QUESTION 17
1. |
creates one thread |
|
2. |
generates the HTML code for the JSP |
|
3. |
creates one instance of the servlet class |
|
4. |
generates a servlet for the JSP |
QUESTION 19
1. |
the name of each tag |
|
2. |
the attributes of a tag |
|
3. |
the scripting variables for each tag |
|
4. |
the name of the tag class for each tag |
QUESTION 20
1. |
displays Update as plain text |
|
2. |
displays nothing |
|
3. |
displays Update as a hyperlink |
|
4. |
displays update.jsp as plain text |
|
5. |
displays update.jsp as hyperlink |
QUESTION 21
1. |
Projects window |
|
2. |
Files window |
|
3. |
Either the Projects or the Files window |
6) a and b above 7) Netbeans or Eclipse 8) WEB-INF\classes 12) the request, response, and ServletContext objects 13) the doStartTag method should return EVAL_BODY_BUFFERED 16) span multiple rows or columns 17) generates the HTML code for the JSP 19) the scripting variable for each tag 20) displays Update as a hyperlink 21) Either the Projects or the Files window
It seems like you have posted the same set of questions multiple times. Let's go through each question and provide the answers:
QUESTION 6: The correct answer is "2. a, b, and c above." When using URL encoding for session tracking, it is necessary to perform URL encoding, cookie-based session tracking, and URL rewriting (encodeURL method) to ensure proper session management in a Java web application.
QUESTION 7: The correct answer is "2. NetBeans or Eclipse." NetBeans and Eclipse are Integrated Development Environments (IDEs) commonly used for developing Java web applications.
QUESTION 8: The correct answer is "4. WEB-INF\classes." In a Java web application, the compiled servlets (class files) are stored in the "WEB-INF\classes" directory and its subdirectories.
QUESTION 12: The correct answer is "2. the request, response, ServletContext, and ServletException objects." When using the controller to forward a request to a servlet or JSP, the arguments passed to the servlet or JSP include the request, response, ServletContext, and ServletException objects.
QUESTION 13: The correct answer is "1. the doStartTag method should return EVAL_BODY_BUFFERED." To display the body of a tag in a custom tag implementation, the doStartTag method should return EVAL_BODY_BUFFERED, which allows the body content of the tag to be evaluated.
QUESTION 16: The correct answer is "2. span multiple rows or columns." In an HTML table, one cell can span multiple rows or columns using the rowspan and colspan attributes.
QUESTION 17: The correct answer is "4. generates a servlet for the JSP." When a JSP is requested for the first time, the JSP engine generates a servlet from the JSP source code and then executes the servlet to handle the request.
QUESTION 19: The correct answer is "3. the scripting variables for each tag." The TLD (Tag Library Descriptor) file specifies the name of each tag, the attributes of a tag, and the name of the tag class for each tag, but it does not specify the scripting variables used within each tag.
QUESTION 20: The correct answer is "3. displays Update as a hyperlink." The anchor tag (<a>) with the href attribute pointing to "update.jsp" creates a hyperlink with the text "Update."
QUESTION 21: The correct answer is "2. Files window." To add an existing file to a NetBeans project on a Windows system, you can use the Files window in NetBeans, where you can navigate to the appropriate directory and paste the file into the project.
Please let me know if you have any other questions or need further clarification on any of the answers provided.
QUESTION 6 When you use URL encoding for session tracking, you must 1. a and b...
Web programming questions (please help if you can) (Java) 1. In which of the following types of JSP elements, the implicit objects cannot be used? (a) scriplets (b) declarations (c) expressions 2. All the JSP implicit objects are created automatically by the server without any request from the programmers. (a) true (b) false 3. Which of the following scopes is used for the members declared inside the JSP declarations? (a) class (b) method 4. When is the code inside a...
Python Chapter 5 QUESTION 1 What Python import library handles web communcation? a. rest b. url c. http.get d. urlib.request e. www.url f, web 10 points Save Answer QUESTION 2 What is the name of method from the web communication library that starts an HTTP request to a web site? a. hyperlink b. webrequest c. hget d.urlopen e. get f. openweb 10 points Save Answer QUESTION 3 What is the name of method from the web communication library that returns...
Posting this again because day limit has run out. Again I really need help with this. This is for my Advanced Java Programming class. The book we use is Murach's Java Servlet's and JSP 3rd Edition. The program used is NetBeans IDE 8.2. I need help modifying or adding some code. I will post the code I was told to open that needs to be modified below. Exercise 9-3 Use JSTL to add a table to the Future Value application. In...
attribute(s) 1- In a table, you can merge cells together using the colspan or rowspan cellpadding or cellspacing merge mergecel or merger w 2-Which form submission method is more secure? c ENCTYPE POST GET C ENCODE 3-In an HTML table, any text within a header cell is automatically bolded. True с False 4-Cellpadding refers to the space between the edge of the table cell and its contents the size of the border around table cells c inserting an additional table...
You shall write a very basic web server in Javascript that will run via nodejs. Your project shall include the following line: var paul = require('/homes/paul/HTML/CS316/p3_req.js'); Your project will accept HTTP requests via URLs in the following format: /[a-zA-Z0-9_]*.cgi Here are the steps you must perform for .cgi URLs: 1) call http .createserver(myprocess) my process() is a function you will write to process requests from the user via their browser 2) create a mylisten() function that takes the following parameters:...
Question 1 A URL is a ____-part addressing scheme a. two b. four c. three d. one Question 2 A text file that contains HTML tags is called a(n) ____. a. server b. HTML document c. browser d. IP address Question 3 A(n) ____ comes into existence as soon as a work is placed into a tangible form. a. open-source project b. copyright c. reproduction notice d. lien Question 4 A(n) ____ is a small file...
You are wanting to communicate secret messages with your friend, and you choose to do this with matrices. The encoding matrix that you choose to use is 2 -2 -1 6 You use the following key to convert your message into a string of numbers, where "O" is used as a placeholder where required. A B C D EF G H IJ K L M 10 2 11 24 19 5 25 20 3 7 16 6 14 N O...
Can you please give me just few lines on each question? 1. How would you classify your experience with software development? Beginner, Intermediate, or Advanced and why? 2. Have you built a web application that includes HTML, JavaScript, SQL, and a server-side technology, and is used in a production environment? If so, please describe. 3. Have you built a mobile or responsive application with HTML, CSS, and JavaScript? Please describe. 4. What JavaScript technologies do you have experience with? Have...
Unit 1 Programming Assignment Follow the directions for each of the following questions. Answer the question or provide the code in a space below the question. 1. Write the complete script tag set for a script whose line statement is document.write(“Hello, world.”); 2. Build a complete HTML document and include the answer to the previous question such that the page executes the script as the page loads. Open the document in your browser to test the results. 3. Add a...
URGENT HELP NEEDED: JQuery. PLEASE POST SCREEN SHOTS Task 1: Downloading jQuery Right-click the link to download the uncompressed latest version of jQuery Copy the jQuery.x.x.x.js file in the folder and specified as source file. Task 2: Download and install HTML-Kit 1. Navigate to htmlkit.com. 2. Click Download HTML-Kit 292. After it downloads, launch HKSetup.exe. Choose Full installation (the default) Uncheck Yes, download and install HTML-Kit Tools Trial. 6. Click Next>Finish. Task 3: Creating a Simple jQuery Application Launch HTML-Kit....