Home > Enterprise >  SOS, Java for relief
SOS, Java for relief

Time:09-19

A, the topic content
1. City has a list of cities in the annex. The XML file, need you now through the Javascript to parse the file, and then the city list to restore to a drop-down list box; When choosing a drop-down list box, the corresponding text box shows the city information (please refer to the interface layout test1. The HTML files, can also define your own),
2. There are similar to the following tree structure:
China
| _ _ Beijing haidian
| | _ chaoyang
| | _ wl
|
| _ _ Shanghai xuhui
| _ whampoa
Requirements:
(1) as mentioned in the data structure is a frequently encountered problems in the actual development process, please design a table storage structure based on database, request the storage structure can general, change the content of the tree (tree) such as for family personnel can also be stored;
(2) the storage structure constructed according to the above, based on SSH framework to realize the reduction of change of tree structure;
(3) request system login function;
Second, in terms
(1) the required code is concise, clear annotations;
(2) requires the database scripts;
(3) please receive E-mail before the scheduled time to submit to the company E-mail,

CodePudding user response:

Lz you make to the?? I also encountered such a problem to solve

CodePudding user response:

Design model of combination principle

http://www.verejava.com/? Id=17175150960149

SQL

The create table node {
Id int,
ParentId int,
The name varchar (100)
}