In the previous blog post, I briefly introduced the hello example in the next I-jetty, and with this hello example, we can imitate him to write a program that belongs to us. In order to save trouble, I directly under the Example-webapps-parent, a new MAVEN module, after the establishment, it should be noted that the MAVEN project Java files will be lost, it is strange why, but the new folder, came out, unable to spit out the slot--
OK, the Java folder is out, we can be in this directory to devolve our logic code, in SRC in the WebApps to add the JSP page we need and modify the Web. xml file, according to the General Javaweb development is good. To make a point, in order for your Web project to be compiled and not have the following version number name, you can add the finalname tag under the build in the Pom.xml file, so that the final compiled folder is the name of its own definition.
Compile: The compilation process may be a bit frustrating, this time, to see the error log, looking for the cause of the error, it is very small white problem
Deployment: Deployment Be careful, if you do not define finalname in the build, then copy the folder directly, but if you define the Finalname, then first you need to copy the version number folder under the Lib directory under the Classes.zip to This is the key to the Lib directory under the custom directory. Deployment is OK.
Using Android as a server, after all, immature, pit too much, we still do not step as well.
The development of Javaweb under the I-jetty of April 2, 2015 (II.)