Can you tell me how to implement the jSoup on the server-side? That is, what to do with jSoup jar file downloaded from the official site so that I can use it in the server side script to scrape web pages?
On Saturday, January 5, 2013 12:06:40 AM UTC+5:30, Andy King wrote: > > It appears that Jsoup may be intended for use on the server-side of the > application, and yet you are using it on the client side. If you want to > use it in the client then you'll have to make the source code available to > the GWT compiler, and the source is in the > jsoup-1.7.1-sources.jar<http://jsoup.org/packages/jsoup-1.7.1-sources.jar> > file. > Are you sure you want to execute the Jsoup routines from the client? I > would probably run Jsoup on the server and communicate with it from the > client using GWT RPC. > > On Friday, January 4, 2013 4:20:51 AM UTC-7, Kaustav Mukherjee wrote: >> >> I am trying to develop a simple app with *Jsoup*. For that, I have >> replaced the default code in the *StockWatcher.java* file from GWT with >> my code, which requires *Jsoup*. I have downloaded the *Jsoup* *jar*file >> from >> http://jsoup.org/download (the first link), and placed it in the * >> StockWatcher/war/WEB-INF/lib* folder. After this, the *Jsoup* classes >> are imported into the class all right (there is no red colored cross sign >> on those import lines), but while trying to run the app, I am getting an >> error as shown in the figure. Can anyone give me a step by step help on >> what to do now? I am new to GWT. >> >> >> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HTqRaJy7ssIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
