All Matches
Solution Library
Expert Answer
Textbooks
Search Textbook questions, tutors and Books
Oops, something went wrong!
Change your search query and then try again
Toggle navigation
FREE Trial
S
Books
FREE
Tutors
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
Ask a Question
Search
Search
Sign In
Register
study help
computer science
programming world wide
Questions and Answers of
Programming World Wide
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
How can a variable be tested to determine whether it is bound?
What are the four scalar types of PHP?
Parameters: An array of numbers (pass by value) and two arrays (pass by reference).Return value: None.Result: The first pass-by-reference parameter must have the values of the given array that are
Which names in PHP are case sensitive and which are not?
Parameter: An array of strings.Return value: A list of the three strings that occur most frequently in theparameter array.Write, test, and debug (if necessary) PHP scripts for the specifications that
What are the syntax and semantics of the include construct?
What are the two modes of the PHP processor?
How does a Web server determine whether a requested document includes PHP code?
What method is used to register event handlers for a Flash movie?
Which event model does Flash use?
What are the two categories of Flash components?
How does one choose the best bit rate for a sound clip?
What aspect of a sound clip can be modified?
Showing 200 - 300
of 683
1
2
3
4
5
6
7