- 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".
推薦閱讀
- Beginning Swift
- 商用級AIGC繪畫創(chuàng)作與技巧(Midjourney+Stable Diffusion)
- AJAX and PHP: Building Modern Web Applications 2nd Edition
- Visio圖形設(shè)計(jì)從新手到高手(兼容版·第2版)
- Swing Extreme Testing
- Animate 2022動(dòng)畫制作:團(tuán)體操隊(duì)形
- Photoshop CC超級學(xué)習(xí)手冊
- Photoshop CS6實(shí)戰(zhàn)基礎(chǔ)培訓(xùn)教程(全視頻微課版)
- ASP.NET jQuery Cookbook
- Lighttpd
- Moldflow 2021模流分析從入門到精通(升級版)
- 剪映短視頻剪輯從入門到精通:宣傳短片+電商視頻+產(chǎn)品廣告+活動(dòng)慶典
- AutoCAD 2022中文版完全自學(xué)一本通
- 中文版Maya 2014基礎(chǔ)培訓(xùn)教程
- 計(jì)算機(jī)輔助翻譯基礎(chǔ)與實(shí)訓(xùn)