19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Out of questions, correct.<br />

<br />

<br />

This page collects the answers passed from the HTML form from the<br />

DisplayQuiz page (lines 15-21), invokes the gradeQuiz method <strong>to</strong><br />

grade the quiz (line 25), finds the correct count (lines 28-31),<br />

and displays the result (line 35).<br />

NOTE:<br />

You need <strong>to</strong> answer all five questions before clicking the Submit<br />

but<strong>to</strong>n. A runtime error will occur if a radio but<strong>to</strong>n is not<br />

checked. You can fix this problem in Exercise 45.5.<br />

Key Terms<br />

<br />

<br />

<br />

<br />

<br />

@WebService<br />

@WebMethod<br />

consuming a Web service<br />

proxy object<br />

publishing a Web service<br />

23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!