Because of the support of others, it is necessary to help others get something about the search engine, but it must also be done in java. Although I have learned java, it is rarely used since work, so the objects in them are not very familiar.
This project is like this. If someone else searches in my web application by keyword, my web application first obtains 100 results from the baidu search result, then, store the data in my database, change the data slightly by using the search engine's weight calculation method, and sort the 100 results according to my search wEight algorithm. It sounds not difficult, but the most terrible thing is that Microsoft has been used in asp. XMLHTTP object, but I don't know what this object is in java, how to use it, what attributes and methods it has. I found a httpClient object for half a day and asked me how to use it, after reading IBM's instruction documents on this class, I found that some components of Apache need to be installed. After reading the documents for several hours, I clicked to download those components, A download is dumpfounded. The file does not exist. I will take the test. Does it not exist? I tried several other jar packages, but they still do not exist. I went to the apache official website and looked at them. I was dumb-eyed. I had no choice but to read the documents in English, try to take a look at the words that can recognize the meaning, add google's translation tool, find the HTTPCLient class, then click Download, test, or not, and the webpage has a 404 error, then I continued to find some items related to the HTTPClient class. After downloading them, I found that there were three packages under the lib directory, so I was very excited, then open MyEclipes to write the example program, compile and run the program, and dizzy ~~ Program error 16:09:15 org. apache. catalina. core. StandardWrapperValve invoke
Severe: Servlet. service () for servlet Haha threw exception
Java. lang. UnsupportedClassVersionError: Bad version number in. class file
At java. lang. ClassLoader. defineClass1 (Native Method)
At java. Lang. classloader. defineclass (classloader. Java: 620)
I have never seen this error. I checked it on the Internet and said that the jar package was not compiled by the JDK of the existing project. I was so dizzy that I fell down on my desk for 2 hours, sleep from 2 o'clock to four o'clock P.M. When I woke up, I saw the computer's Error Reporting Program and almost fell asleep. I opened the QQ group, so I asked for help in the group. I asked for help, and the prawn experts called each other, someone finally gave me a website and said that there was a project that was used to httpclient to see if there was anything I wanted. After I tried it, indeed, it was a success. At that moment, I was excited to hug Comrade Lei, who was sitting in the back office. He was shocked. Haha. You can try it if you are interested.