Term
In the JSP book, what is the purpose of the if block in a controller? |
|
Definition
To determine which button was pressed in the page that called the controller |
|
|
Term
In our controller webpages in the book, what is the percentage of Java plus HTML code in it. |
|
Definition
|
|
Term
Where do we have to use the following
import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;
PHP, javaScript, JSP, servlet, or HTML ? |
|
Definition
|
|
Term
|
Definition
|
|
Term
What do you need to do if you get a 404 error? |
|
Definition
|
|
Term
In addition to HTML, name 3 other languages that can be used when building a website. |
|
Definition
|
|
Term
What is the purpose of the index.html file? |
|
Definition
Default page that server looks for |
|
|
Term
Create a page that will pass data to another page using the browser. Create another page that will accept and print the data received from the previous page. |
|
Definition
Pass: Receive: $variable = $_GET['variable'] if ($variable == 'exam') echo $variable |
|
|
Term
Write hyperlinks, use relative when possible: to Microsoft.com, to the file page2.html that is in same directory, to file page3.php that is in a subdirectory of current named SPECIAL, to file page4.html that is in a subdirectory named COMMON located inside SPECIAL directory. |
|
Definition
Microsoft Page2 Page3
Page4 |
|
|
Term
Where does PHP execute? Where does HTML execute? |
|
Definition
|
|
Term
Using view source page, what code can you see? |
|
Definition
|
|
Term
Create a CSS file that will: set courier as default font, set 20 as font size, set black as text color, set white as background color. |
|
Definition
.text {size:20; color: black; background-color: white; font: courier;} |
|
|
Term
Name of program used to upload files to a web server from Windows, Mac, and Linux? |
|
Definition
|
|
Term
In which OS can we use WinSCP to connect to a server? |
|
Definition
|
|
Term
Create a table containing one row and three columns. In first column write "life is good" using previous css, and vertically and horizontally centered. In second column attach an image that will call http://fiu.edu. In third column attach an image called papajohn. |
|
Definition
life is good |
[image] |
Papa Johns |
|
|
|
Term
What is the difference between POST and GET? |
|
Definition
GET pulls data from query string and does not allow sessions. POST does not show the query string and allows sessions. |
|
|