Page label
The following instruction is used to introduce the required class, which is the same effect as the import statement in the Java file. Can be written in writing, separated by commas in the middle, and no semicolon at last.
<% @page import= "Captchaweb.captcha,
Org.apache.http.HttpEntity,
Org.apache.http.client.ClientProtocolException,
Org.apache.http.client.methods.CloseableHttpResponse,
Org.apache.http.client.methods.HttpGet,
Org.apache.http.impl.client.CloseableHttpClient,
Org.apache.http.impl.client.HttpClients,
Org.apache.http.util.EntityUtils,
Java.io.OutputStream
"%>
These classes, if they involve a third-party jar package, need to be placed under the XX project name \webcontent\web-inf\lib\ directory, and then in Eclipse View, the following figure, WEB App libraries and webcontent\web-inf\ There are things under the lib\, but they are always the same.
JavaBean <jsp:usebean id= "obj" class= "Com.likeyichu.xq.UtilClass"/>