Skip to main content

Posts

Showing posts with the label web

GUI to run and deploy web application

I built java GUI interface for an Editor application , the editor is used to write java web application code , I want to add button to the editor , so when user click on the button the web application start working , and if there is an exception in the web application , all the exception is written in file ( ie. log.txt file ) Can someone help me in that Thank you very much for you

How to extract textual contents from a web page?

I'm developing an application in java which can take textual information from different web pages and will summarize it into one page.For example,suppose I have a news on different web pages like Hindu,Times of India,Statesman,etc.Now my application is supposed to extract important points from each one of these pages and will put them together as a single news.The application is based on concepts of web content mining.As a beginner to this field,I can't understand where to start off.I have gone through research papers which explains noise removal as first step in buiding this application. So,if I'm given a news web page the very first step is to extract main news from the page excluding hyperlinks,advertisements,useless images,etc. My question is how can I do this ? Please give me some good tutorials which explains the implementation of such kind of application using web content mining.Or at least give me some hint how to accomplish it ?

php Project with java

Our Web Project first was written in PHP, but after that time we have sub projects which were written in Java. now we have some data to exchange. $url = 'http://hr.sankuai.com/mtorg/org/api/mischange?start='. $stime. '&end='. $t. '&token='. $token; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); $content = curl_exec($ch); Now we always do like this. Such as java have a service, then PHP wants to visit the service, then we will call curl function. We always do like this. I think it's very ugly. Do you have some experience where a project mix with java and php. How can you do when you php want to visit you java service. Or you java project want to visit the php service. Does thrift can solve This problem? Thank you~