- DWR Java AJAX Applications
- Sami Salkosuo
- 225字
- 2021-04-25 17:37:50
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".
推薦閱讀
- Google Web Toolkit 2 Application Development Cookbook
- Excel 2013電子表格處理
- PyTorch深度學(xué)習(xí)簡(jiǎn)明實(shí)戰(zhàn)
- AI繪畫(huà)實(shí)戰(zhàn):Midjourney從新手到高手
- WordPress Theme Design
- 中文版Photoshop 2020完全自學(xué)教程
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- 中文版Photoshop CS6應(yīng)用技法教程
- Excel 2010 Financials Cookbook
- Oracle Application Express Forms Converter
- Service Oriented Architecture with Java
- 中文版Illustrator CC完全自學(xué)教程
- Premiere視頻編輯案例教程:Premiere Pro 2020(微課版·第2版)
- 3ds Max 2014/VRay效果圖制作實(shí)戰(zhàn)從入門到精通
- AutoCAD 2021中文版從入門到精通