New Semester
Started
Get
50% OFF
Study Help!
--h --m --s
Claim Now
Question Answers
Textbooks
Find textbooks, questions and answers
Oops, something went wrong!
Change your search query and then try again
S
Books
FREE
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Tutors
Online Tutors
Find a Tutor
Hire a Tutor
Become a Tutor
AI Tutor
AI Study Planner
NEW
Sell Books
Search
Search
Sign In
Register
study help
computer science
programming world wide
Programming the World Wide Web 8th edition Robert W. Sebesta - Solutions
What is a JavaBean?
Describe the semantics of a choose element that includes several when elements.
Describe the syntax and semantics of the forEach element when it is used to iterate through a collection.
What are the two ways the param implicit variable can be used to access form values?
What is the syntactic form of an EL expression?
What is the purpose of the taglib directive?
What are the five parts of the JSTL?
What is template text?
Write a JSF application that accepts two numbers in text boxes and produces the sum, product, quotient, and difference of the first and second numbers when the second text box loses focus.
What happens during the translation process for JSP documents?
Explain the two approaches to handling events in JSF.
Describe the two kinds of people who develop and maintain dynamic documents.
Explain briefly the three approaches to using Java server software in an MVC architecture Web application.
How does a servlet get a cookie that is coming from a client?
Explain the structure of a Web application that uses the MVC architecture.
How is a cookie added to a response by a servlet?
Write a markup document that displays a form that collects three numbers from the client and calls a JSP document that computes the value of multiplying the three numbers together. The JSP document must use a bean.
What do the methods setMaxAge, setValue, and getComment do?
Write and test a JSP document that displays the form of Exercise 11.8 and produces the same response document as Exercise 11.9.Data from exercise 8Write the markup document to create a form with the following capabilities:a. A text widget to collect the user’s nameb. Four checkboxes, one each for
Revise the survey example so that it displays the result as a horizontal bar, similar to a progress bar, ranging from 0 to 100.
Why would a Web server need to store information on a client about the client’s previous requests?
Write a markup document to provide a form that collects names andtelephone numbers. The phone numbers must be in the format ddd-ddddddd. Write a servlet that(1) Checks the submitted telephone number to be sure that it conforms to the required format and then(2) Returns a response that indicates
What is a session?
Write a servlet that computes the total cost of the ordered light bulbs from Exercise 11.8 after adding 6.2 percent sales tax. The servlet must inform the buyer of exactly what was ordered, in a table.Data from exercise 8Write the markup document to create a form with the following capabilities:a.
What are the primary benefits of using an IDE for building servlet applications?
Write the markup document to create a form with the following capabilities:a. A text widget to collect the user’s nameb. Four checkboxes, one each for the following items:i. Four 25-watt light bulbs for $2.39ii. Eight 25-watt light bulbs for $4.29iii. Four 25-watt long-life light bulbs for
How does a servlet read form data values sent by a client to a servlet?
What class of object is used to create markup output of a servlet to a client?
Modify the servlet for Exercise 11.5 to count the number of visitors and then display that number for each visitor.Data from exercise 11.5Write the markup document to create a form that collects favorite popular songs, including the name of the song, the composer, and the performing artist or
What must the first markup output of a servlet to a client be?
Write the markup document to create a form that collects favorite popular songs, including the name of the song, the composer, and the performing artist or group. This document must call a servlet when the form is submitted and another servlet to request a current list of survey results.
Describe the two parameters to doGet and doPost.
What are the purposes of the doGet, doPost, and doPut methods of the HttpServlet class?
Revise the survey sample servlet Survey.java to display the results of the survey in a table, with female responses in one column and male responses in another.
Most user-written servlets extend what predefined class?
What is a servlet container?
Write a servlet that uses doGet to return a markup document that provides your name, electronic mail address, and mailing address, along with a brief autobiography. Test your servlet with a simple markup document.
What is cross-site scripting and why does it create security problems?
Explain how Ajax applications have a larger attack surface than traditional Web applications.
For what framework was Prototype developed?
For simple Ajax applications, what is the advantage of using Dojo?
What are the two major advantages of JSON over XML for the response data from an Ajax request?
What is the danger of using eval to process a JSON string?
What property of the XHR object stores the JSON data from an Ajax request?
What two data types provide the forms of the data in a JSON string?
What are the two ways XML is used in the callback function?
When XML is used for the return data for an Ajax request, where does the callback function find it?
What is the disadvantage of using HTML for the return data for an Ajax request?
Under what circumstances is HTML used for the return data for an Ajax request?
How are parameters passed in a GET Ajax request?
Under what circumstances would one use the POST method for an Ajax request?
What is the purpose of the onreadystatechange property of an XHR object?
What is a callback function in an Ajax application?
What is stored in the readyState property of an XHR object?
What is required for an Ajax application to run on both IE6 and the latest versions of browsers?
What new software must be installed on a browser or server to run Web applications that use Ajax?
What new languages are employed to program Web applications that use Ajax?
Explain why the callback function is written as an anonymous function in the request phase function.
What does it mean for a request to be asynchronous?
Explain the two characteristics of Ajax that help it achieve its goals.
What is the goal of the use of Ajax in a Web application?
How can a variable be saved in a session?
How can a script determine whether a particular cookie exists?
How can a cookie be created in a PHP script?
How can the value of a form element be accessed by a PHP script?
How can you define a variable in a function so that its lifetime extends beyond the time the function is in its first execution?
How can a variable used outside a function be accessed by the function?
What are the two ways you can specify that a parameter is to be passed by reference?
What value is returned by a function if its execution does not end by executing a return statement?
Are function names case sensitive?
What happens if a script defines the same function more than once?
What is the difference between the sort and asort functions?
Describe the result of using the sort function on an array that has both string and numeric values.
What are the syntax and semantics of the two forms of the foreach statement?
Describe the actions of the next, reset, and prev functions.
Explain the actions of the implode and explode functions.
What exactly does the in_array function do?
What exactly do the array_keys and array_values functions do?
Must all of the keys of an array be of the same type?
Must all of the values of an array be of the same type?
What keys are used when an array is created but no keys are specified?
In what two ways can arrays in PHP be created?
What is the advantage of using unique closing reserved words such as endwhile?
If a string is compared with a number, what happens?
How can the type of a variable be determined?
What are the three ways the value of a variable can be explicitly converted to a specific type?
Write an HTML document to provide a form that collects names andtelephone numbers. The phone numbers must be in the format ddd-ddddddd. Write a PHP script that checks the submitted telephone number to be sure that it conforms to the required format and then returns a response indicating whether the
What is a coercion?
Write the PHP script that produces the current results of the survey of Exercise 9.11.Write, test, and debug (if necessary) PHP scripts for the specifications that above.Data from exercise 9.11Write an HTML document to create a form that collects favorite popular songs, including the name of the
What does the chop function do?
Write the PHP script that collects the data from the form of Exercise 9.11 and writes it to a file.Write, test, and debug (if necessary) PHP scripts for the specifications that above.Data from exercise 9.11Write an HTML document to create a form that collects favorite popular songs, including the
If a variable stores a string, how can the character at a specific position in that string be referenced?
Write an HTML document to create a form that collects favorite popular songs, including the name of the song, the composer, and the performing artist or group. This document must call one PHP script when the form is submitted and another to request a current list of survey results.Write, test, and
What happens when an integer arithmetic operation results in a value that cannot be represented as an integer?
Write a PHP script that computes the total cost of the ordered light bulbs from Exercise 9.9 after adding 6.2 percent sales tax. The program must inform the buyer of exactly what was ordered, in a table.Write, test, and debug (if necessary) PHP scripts for the specifications that above.Data from
If an integer expression appears in a Boolean context, how is its Boolean value determined?
Write an HTML document to create a form with the following capabilities:a. A text widget to collect the user’s nameb. Four checkboxes, one each for the following items:i. Four 25-watt light bulbs for $2.39ii. Eight 25-watt light bulbs for $4.29iii. Four 25-watt long-life light bulbs for $3.95iv.
What are the differences between single- and double-quoted literal strings?
How many bytes are used to store a character in PHP?
How can you specify to the PHP processor that you want uses of unbound variables to be reported?
Showing 200 - 300
of 696
1
2
3
4
5
6
7
Step by Step Answers