Starting from:

$25

Web_Technology Week 5 Exercise -Solved

Introduction to Web Technology 

Lab Programming 

Part 1. The library at a fictional Whosville College provides an online web form for the students to search for books in the library. The server service for this web form is running at http://library.whosville/bsearch with method GET and it accepts the following parameters:

●     author:​ this parameter is to specify the author of the books;

●     year:​ this is to specify the publication year;

●     sub:​ this parameter is to specify the subject of the books. It can accept multiple values, and the valid values are: mth​ for Mathematics, cs​ for Computer Science, bio​ for Biology, phy​ for Physics, and ​ chem​ for Chemistry.​

 

Create a web form that look like the following:

  

 

Test the web form. If the web form works correctly, then when the user enters smith​ for author name, 2020​ for the publication year, Biology and Chemistry for subjects, and clicks Search, then the URL should show: http://library.whosville/bsearch?author=smith&year=2020&sub=bio&sub=chem  

 

 

 

 

 

 

 

             

Page 1 of 2 

Part 2. Go to the website https://ebay.com.au​ and play with the search web form. Type some keyword and choose some category to search. Try to find out the following information:

●     What is the action of the form?

●     What is the parameter for the keyword?

●     What is the parameter for the category?

●     What are the values for the following category: Art, Book & Magazine, Coins, Music, Stamps, All categories?

 

After obtain the above information, create a web form that look like the following:

  

 

Test the web form. If the web form works correctly, then it should submit to the ebay server and display correct results. 

 

 


More products