官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code will be set as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC
"-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN"
"http://getahead.org/dwr/dwr20.dtd">
<dwr>
<allow>
<create creator="new" javascript="HorizontalMenu">
<param name="class" value="samples.HorizontalMenu" />
</create>
</allow>
</dwr>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

public boolean submitOrder(String name, String address, String creditCardNumber, String expiryDate) {
CreditCardValidatorSoapProxy ccValidatorProxy = new CreditCardValidatorSoapProxy();
int rv = -1;
try {
rv = ccValidatorProxy.validCard(creditCardNumber, expiryDate.replace("/", ""));
if (rv != 0) {
System.out.println("Credit card check failed: " + rv);
}
} catch (RemoteException e) {
e.printStackTrace();
}
if(rv==0) 
{
//credit card valid, submit to order system
new OrderSystem(name,address,creditCardNumber,expiryDate);
}
return rv == 0;
}

Any command-line input and output is written as follows:

deploy -user system -password manager deploy d:\temp\HelloWorldServlet.war

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 洪洞县| 包头市| 营山县| 陇川县| 咸宁市| 大石桥市| 荔波县| 黄浦区| 安化县| 华阴市| 锡林浩特市| 涟水县| 扬州市| 酉阳| 宁乡县| 荔波县| 威远县| 体育| 宣城市| 宜宾县| 黄平县| 黔西| 咸丰县| 黄大仙区| 合川市| 腾冲县| 区。| 莎车县| 南开区| 柘荣县| 修武县| 江山市| 双城市| 滁州市| 桦川县| 萝北县| 新营市| 景泰县| 峨山| 客服| 岗巴县|