Today's trendy GAE comes out. It uses App Engine to build network applications using standard Java technology and run these applications on Google's scalable infrastructure. To put it simply, you can write java web programs and put them on Google. Of course, this is different from general web programs. The technology used in it is unique, use the class libraries and interfaces provided by Google.
The following describes a gaing in GAEWeb development.
Is the code of an index. jsp page:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/132H56308-0.jpg "border =" 0 "alt =" "/>
Simply put, click the "submit" button and go to the "/Sign" page. But here the "/Sign" is not what page, please see the contents of the web. xml file under the war/WEB-INF directory:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/132H52044-1.jpg "border =" 0 "alt =" "/>
These are manually added. The <servlet-name> node in the <servlet> node specifies the name as sign, and the <servlet-class> specifies the complete path of the corresponding class --Guestbook. SignGuestbookServlet. The <servlet-name> and <servlet-name> nodes in <servlet-mapping> nodes refer to the same name, <url-pattern> indicates the corresponding url. This is the ing mechanism of the class servlet-name URLs. Of course, this class is not a general class, but a class inherited from HttpServlet. Please refer to the Code in this class:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/132H52362-2.jpg "border =" 0 "alt =" "/>
This class processes the index. after processing the parameters in jsp, you can jump to other pages. It seems like an intermediate organization that processes data and plays an important role in connecting two pages.
This article is from the "HDDevTeam" blog, please be sure to keep this source http://hddev.blog.51cto.com/3365350/645876