Title Design and implementation of travel plans Network Hotel Search
Abstract
With the rapid development of China's national economy, People for the quality of life has a higher requirement. Holiday travel tourism has already become a hot spot for human consumption. Currently, most tourist sites just belong to some travel agencies ,and just offer their own tours and offer, for those who prefer to drive,exercise is undoubtedly a constraint, so what better to provide for the people and make they have a personalized travel which is more convenient and have more choices, that is the goal of this subject.
Design and implementation of travel plans are pided into air tickets, hotel search, attractions search modules. In this paper,we mainly study the hotel search module. The system using java development, inherited the java "write once, run anywhere" advantages. At the same time ,the system adopt in the JSP application development technology,with searching all hotels in the destination city, and you can view the services the hotel offers . Get hotel information mainly through sending HTTP request body to website Ctrip interface , and return XML file for us ,then parsing XML .Eventually get instant hotel relevant information.
Keywords hotel search Ctrip Interface java XML parsing
目次