Recently made a small site, it is to use tinyce rich text editor, https://www.511easy.com/ keeping typography and pictures
Find blog picture park, after a day can not be displayed
Thinking about their own server a picture, upload pictures to the specified directory and returns the new access address
The interface is very easy to upload pictures, written soon
Read and display the picture, very tired, I want to read a InputStream stream, after receiving html, find such real trouble
People ask too high, adequate guidance to do image server with tomcat ah, path specified to ok visit
I tried it myself, entirely ok
Here are the steps:
1. Local always install jdk, arranged java_home
2. Download the server.xml under the tomcat, configuration conf directory
3. Start tomcat