It took two days to finally mount the JSP website to a free space and sort it out for future reference.
Website project: JSP + MySQL, Server Tomcat.
Free: http://www.eatj.com/
If you are good at English, you can simply read the descriptions and operation instructions of the website.
Steps:
1. Apply for an account. Username and password. The applied username is the database name. The applied username and password must also be the account and password for connecting the data warehouse with mysql. you can download the sample.zip compressed package of the website.
2. Upload a project. You need to upload toot. the war file cannot be changed to another name. You can export it to a war file through eclipse and put it on the page. The website also provides FTP upload: Address: s23.eatj.com, port 21, the account password is the username and password for logon.
3. Restart service. War File Upload need to restart tomcat, restart after the page header will generate your website address: http://username.s23.eatj.com, click to access.
4. Import the database. Eatj provides two databases: mysql4.1 and 5.0. The port 5.0 is 3307, so the URL to connect to the database is different. mysql5.0:
Cstring username = "your account name ";
Cstring Password = "Logon password ";
Url = "JDBC: mysql: // localhost: 3307/" + username + "? User = "+ Username
+ "& Password =" + password;
5. Read the help documentation carefully for specific operation requirements.