jsp + servlet + Ajax complete back-end

Today will summarize how the backend developed, it is impossible once all the details out of the whole show, first introduced only a skeleton;

 

 Zhang substantially to the skeleton-like, has an end value to pass through requeest insertServlet, then the presence of the database. Each entry data taken home by Ajax start transmitting data on the home page.

Why use Ajax it, not directly jsp more convenient for you, some people may say, faster asynchronous transmission. Indeed this respect, learn to use the total, therefore, forced to join Ajax, without it completely.

During the main problems and difficulties encountered.

First, upload the picture (picture name garbled, set the storage location, etc.)

Two, Ajax (josn conversion problem jar package, front-end template in question)

 

Guess you like

Origin www.cnblogs.com/zsboke/p/11894022.html