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

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.

主站蜘蛛池模板: 长兴县| 资阳市| 武宁县| 夏河县| 汽车| 天津市| 武冈市| 阿克陶县| 含山县| 龙陵县| 蒙自县| 交口县| 华坪县| 邳州市| 荣昌县| 连云港市| 武功县| 夏津县| 东乡| 昔阳县| 通江县| 天气| 靖州| 抚顺市| 井研县| 卢龙县| 沂源县| 普宁市| 静宁县| 卓资县| 阳东县| 攀枝花市| 彝良县| 福泉市| 临朐县| 文昌市| 宽甸| 凤台县| 梅州市| 香河县| 偃师市|