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

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.

主站蜘蛛池模板: 游戏| 怀柔区| 浪卡子县| 紫金县| 卫辉市| 穆棱市| 苏尼特右旗| 紫阳县| 高雄市| 武强县| 天峻县| 苍溪县| 乐平市| 娱乐| 巧家县| 惠东县| 繁峙县| 武胜县| 正镶白旗| 镇坪县| 莆田市| 道真| 读书| 双鸭山市| 绵竹市| 达拉特旗| 东山县| 屏山县| 永登县| 抚顺市| 长乐市| 宜良县| 开原市| 东平县| 天柱县| 香港| 昆山市| 嫩江县| 金山区| 通河县| 育儿|