java - Hw can i send a search query to thesuarus.com through html page? -


I have created an html page that contains a text field and a submit button, the user records a word in the text field and Submit click is a servlet that receives the user input through request.getParameter (). Now I want to send this input word to thesaurus.com and retrieve synonyms for the word and want to send this synonyms back to the user as feedback. I want to add this functionality to the above sublettes .... plz help!

You can use the java.net API or alternatively you can use the Apache HTTP Client Are there. Create a URL object using the Java.net API

To test how the parameter is sent, you can use the Mozilla's http life header plugin

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -