Here is the step of building a 388ota website:
1. Server-side tool: apache tomcathttp: //jakarta.apache.org/tomcat/index.html
2. Prepare the JAR file and JAD file as required (hereinafter referred to as Test.jar and Test.jad)
3. New Folder Test in the WebApp / root subdirectory in Tomcat's installation directory
4. Take the JAR and JAD files to the TEST directory
5. Create a new index.xml file in the Test directory
6. Fill in the index.xml file according to the DTD below
Xml Version = '1.0' Encoding = 'UTF-8'?> Element Index (file *, dir *, a *) Element File (#pcdata) Attlist File Name CDATA #REQUIRED href CDATA #REQUIRED type (jar | rng | img) #REQUIRED vendor CDATA #IMPLIED version CDATA #IMPLIED size CDATA #REQUIRED date CDATA #IMPLIED price CDATA #IMPLIED time CDATA #IMPLIED adf CDATA #IMPLIED ELEMENT dir (#PCDATA) Attlist Dir Name Cdata #Required Href Cdata #Required Element A (#pcdata) Attlist A Href CData #Required
7. INDX.XML example file
XML Version = "1.0" encoding = "UTF-8"?> "> ">" File Name = "Test" href = "Test.jar" TYPE = "jar" vendor = "A2942C" Version = "0.0.1" size = "9935" date = "2002-09-18" Time = "19:36:51 ADF = "Test.jad"> My Application Test. file> index>
8. Start your Tomcat
9. Open 388 mobile phone, enter Java / my software, set the download mode to select wireless download, fill in the URL configuration table, the name is set to TEST, the host name is set to the host address of the Tomcat server, the port number is 8080 (Tomcat default), The default path is set to TEST