Monday, October 18, 2010

Retail: international and domestic giants play the attacking football


For quick access to, or rapid increase market share, foreign retailers willing to pay a higher premium to buy some that have established inter-regional network of company stores

End of the year 2006, Trust-Mart headquarters in Guangzhou supermarkets Tangxia are selected on the promoters of milk Ivy customer is always hard to recommend indifferent.

"Price swing, this week discount prices the next week." Ivy in IT industry, said she knew the news of Wal-Mart's acquisition of Trust-Mart, but also to understand the strength of Wal-Mart, the world number one, but she most want to get better and more assured of goods. "I like Carrefour and PNS can be a PNS in recent days, Hebei, Carrefour in the village on, I had no choice."

Like many consumers, like Ivy, like, in fact, 2006 sales will reach 350 billion U.S. dollars in Wal-Mart's acquisition of a sale of only 13.5 billion yuan last year, the Trust-Mart, for whom may not have much impact, but in the retail market, which the deal because of the "China market" the key words and concern.

Expansion of the theme

November 2006, total retail sales of social consumer goods in China 682.2 billion yuan, compared with 14.1% growth in same month last year. "The Americans brought China, immediately think of gold opportunities." United States, a venture capital firm's Chinese partner. If the acquisition of Trust-Mart and Wal-Mart, not only will the Chinese market pie, but also the opportunity to beat their biggest rivals in overseas markets Carrefour.

The beginning, it gave "M" This act Lenovo various lively face. Now, the face reappeared behind Tesco (tesco). The UK's largest retailer finally can not stand Wal-Mart, Carrefour, two from Europe and the United States of giant dinosaurs in the Chinese market, "wantonly trampled", before to 180 million pounds (about 350 million U.S. dollars) to support the cost of some Tesco shares to expand from 50% to 90%. What participants from the spectators transfiguration.

"Expansion of the retail industry is still an investment theme in 2007." Huatai Securities analyst Dong Hongyu Co., Ltd. in its latest research report so expressed. And support his reasons for this view is the macro business environment in 2006 remained robust retail.

"In order to quickly enter or rapid increase market share, foreign retailers willing to pay a higher premium to buy those stores on a certain cross-regional network company. Thanks to their capital strength, but also their in China cross-regional market is more optimal operational capacity. "Hua-Jun Huang, president of South China Business Network, said this trend will intensify in 2007, which will further demonstrate the strength of transnational corporations across the region.

Local businesses to expand in various ways, have also recently formed a regional leader in retail business, such as Brilliance Group, shares and other large companies. With the regional leading enterprises in the region in which the continuous expansion in the region of decreasing resources available to set up shop, the regional leading enterprises also went out of the national expansion of the road. In 2006, the largest New Town Plaza, the acquisition of Qingdao, Shandong Scholar Group, the people of department stores, supermarkets and so on Supply Chain Management acquire from the mountain, in 2007 this trend will become increasingly evident.

However, be cautious that, because China consumer spending habits in different areas of difference and advantage of the resources and experience weaker regional leading companies from outside Kuo Zhang, in particular a number of new stores Wang Wang will Mianlin adverse factors currently it is very difficult to see that domestic retail enterprises operating outside the headquarters can take the first ground. Therefore, how to handle outside the expansion of regional leading enterprises will be key issues for future development.

Investment focus

Specialty store and department store chain

In 2006, total retail sales of social consumer goods in China than in February by the New Year ahead of the fallout of lower growth factors, the remaining months maintained a rapid growth rate, and start from July, the growth rate on the rise. The Chinese government has recently made clear in the work plan properly handle the investment and consumption, the proportion in the national economy, increase the proportion of consumers in the national economy. Therefore, the long term, the development of the retail industry continues to face a good policy environment.

McKinsey Global Institute's latest research shows that in the next 20 years, real spending power of Chinese cities from 3.7 trillion yuan in 2005 rose to 19.2 trillion yuan in 2025, after Japan and China will become United States, the world's third-largest consumer market.

McKinsey expects housing, health care, entertainment, education, and transportation and communication will be the flexibility of the highest growth rate of consumer goods in the four product categories, including transportation and communication of the average annual growth rate of 10%, entertainment and education 9.7%, housing and utilities was 11.7%, pocket health care spending growth rate will reach 12%.

GF Securities senior analyst Ou Yafei in a research report that, by 2006 9 months 1000 the core retail business the latest data show, specialty, department stores, large supermarkets were up 17.3%, 16.2% and 13.6%. Based on this, the investment focus in 2007 will fall specialty store and department store chain industry.






Recommended links:



Vice Minister of Ministry Of Industry and women throughout the year Ou died 59 years



To. NET migration risk assessment [1]



FLV to PSP



Essays on CMMI [1]



After the operator completed three items off our support AVS



RM to MPEG4



Photoshop art of sun and moon shuttle - on the evening LANDSCAPE change



Easy Gallery And CATALOGING Tools



Wizard Accounting And Finance



CLP brewing Putian Information Industry restructuring is expected to resume merger



QuickTime To MPEG



Directory Web Development



Dynamic Power-BIV5.3.1 Chi Aowei smooth fat version!



JDK 7 will support the regular expression capture group named



fix D3dx9.dll error how to fix d3dx9.dll error



Saturday, October 9, 2010

JSP variable in the scope of the specification



JavaServer Pages (JSP) and JSP Standard Tag Library specification (JSTL) to Web developers to provide many useful tags (also known as operations). In addition, JSP 2.0 also provides two API, which is the standard API and simple tags tags API, used to build custom tags / operation. Inherited from the previous API JSP 1.x, and due to historical reasons, the use by the JSTL. (Due to the development of JSTL 1.0 in JSP 2.0 before, so the new API does not include JSTL 1.1.) Moreover, JSTL does not use JSP fragment and dynamic properties of the new features such as JSP. This article uses the JSP 2.0 API and features of the new build custom tag extensions JSTL. This article provides an overview of API and demonstrates how to develop

鈼?Export variable tag

鈼?conditions of tags

鈼?iteration mark

鈼?dynamic properties of the tag

鈼?Coordination tag

Simple tag API Overview

In JSP pages using custom tags, the application server JSP container will convert the call ... as tag processing methods like Java code. Therefore, if you want to develop custom tag, you must provide a tag handler, such standards must be marked using JSP 1.x API or the JSP 2.0 simple tag API. Compare these two API, will find the new API easier to use. Only a simple tag API Interface (javax.servlet.jsp.tagext.SimpleTag), which defines the method of dealing with custom tags. Usually from the JSP container automatically generated from the JSP page in the Java Servlet to call these methods.

javax.servlet.jsp.tagext.SimpleTagSupport class implements SimpleTag interface, so when the mark when dealing with only the preparation of an Extended SimpleTagSupport doTag () method can be. The following steps describe how to develop a simple tag handler class:

Step 1: Design custom tag

First, you must choose a name tag and set its properties. Then, create a tag library descriptor (TLD) file (using the JSP specification defines the XML format) to inform the JSP container how to handle and verify the custom tag. Text provides a sample TLD file called util.tld.

Step 2: Create tag handling class

Must provide an interface for achieve SimpleTag Java classes. The easiest way is to extend SimpleTagSupport or one of its subclasses. In this article VarTagSupport, IfTag and WhileTag class for extending SimpleTagSupport. Examples of other tag handler extension VarTagSupport.

If you want to use is not specified in the TLD file attributes, then the tag handler must implement the javax.servlet.jsp.tagext.DynamicAttributes interface (such as "dynamic attributes of the tag" section describes the MapTag example below).

Step 3: Initialize tag handle class instance

Each tag handling class must contain a public no arguments constructor for placing the initialization code. In this article address some of the tag type (EvalTag, ListTag and MapTag) contains a public constructor without parameters, it uses the default values instance variables initialized. Other (IfTag, WhileTag and ItemTag) no constructor. Please note, Java compiler in the class does not contain any constructors to automatically generate a public constructor without parameters, this function does not do anything.

Step 4: Method of providing property

JSP page tag attribute values through the setAttribute () method is passed to the tag handler. For example, this article includes four tag attributes: var, scope, expr and type. EvalTag handling class implements setExpr () and setType () method, inherited from the VarTagSupport setVar () and setScope ().

Dynamic properties of interfaces defined by DynamicAttributes setDynamicAttribute () method of delivery.

Step 5: Implement doTag () method

The method used to implement custom tag logic. doTag () method by the JSP container, after following all the property set method call. Here you can use getJspContext () to get a javax.servlet.jsp.JspContext object to access the JSP environment. Can call getJspBody (), which returns javax.servlet.jsp.tagext.JspFragment instance, the instance that is located in the main body and between the JSP. If you work together to develop the tags, such as and (the last part of this article will be introducing its), you can also use the getParent () and findAncestorWithClass () method.

Step 6: Test the custom tag

JSP pages using custom tags to use the tag directive to import the tag library. When the custom tag in JSP page, when, JSP container generates the class instance to create tag handling, call the property method and call doTag () method code. Therefore, the use of JSP custom tag implementation of the page call tag will handle class methods.

Limitations and workarounds

To simplify the tag processing API, JSP 2.0 adopted a limit: If the custom tag processing class is based on the simple tag API, then the page author and shall not be used between the JSP 1.x statement (), JSP 1.x expression ( ) and scriptlet (). In most cases, you can Java code in JSP page to move to tag handling class, or in JSP 2.0 Expression (${...})( can use the custom tag's body) to use JSTL. Please note, JSP 2.0 allows you to standards-based API for custom tag to use the body tag scriptlet. However, because the script does not use JSP pages easier to maintain, it is best to avoid the use of Java in the Web page code.

My previous Oracle Technology Network (OTN) article, "Using JSP 2.0 EL API" describes a simple tag API, and provides another limit workaround. JspContext class is not available on the JSP implicit objects (such as application, session, request and response) of the visit. Most application servers (including Oracle Application Server Containers for J2EE (OC4J) 10g) allows to convert the JSP PageContext context

Tag handler does not apply to the use println () statement generates a large number of reusable HTML code. JSP 2.0 this work provides a better way. JSP tag files to use the so-called by the JSP container syntax is automatically converted to a simple tag on the tag handler API. Another one of my OTN article "Creating JSP 2.0 tag files", introduced new features to this JSP.

Export variable tag

Many JSTL tags to achieve a logical and export JSP variable to report the results. For example, contains a var attribute must specify the SQL result set to save the JSP variable name. var property on the other JSTL tags (such as and) is optional. If the var attribute does not exist, then these tags will output their results. Var properties all contain the tags also contain a scope attribute that can be used to indicate the following JSP variable scope: page, request, session or application.

VarTagSupport class (which is an example of this development) Extension SimpleTagSupport var and scope attributes for the provision of setting method. VarTagSupport contains export JSP variables, access to the main content and practical method of output, rather than to achieve doTag () method. These methods from the sub-class VarTagSupport doTag () to use. This article includes four tag for the expansion VarTagSupport handling class (EvalTag, MapTag, ListTag and ItemTag).

Please note, JSP variable in JSTL specification called the scope of variables in the JSP specification, called the scope of named variables or attributes. These variables JspContext class by setAttribute () method to create / export. You can use the JSP page $ (varName), and the use of Java code JspContext the getAttribute () or findAttribute () method to obtain their values. Do not confuse the JSP tag variables and attributes.







相关链接:



MTS To MP4



e-cology in the Pan Micro Series 31



Crypt32 dll corrupt error repair it yourself



FLV to IPOD



Selected fifth one, Peking University Guanghua New Year's Forum



Nothing To Fall Back Tencent Sogou Input Method Of Unfair Competition



Finaldata Recovery Partition From Experience



Premier Backup And Restore



Infomation FTP Servers



Unicom 3G discount rates are not cut prices as "fertile" REALLY expensive!



Beijing University of Posts and Telecommunications Professor Song Junde: issuing 3G licenses soon as



RELATIONSHIP is kind of a very mysterious thing



H.264 to AVI