- Where Developers Learn, Share, & Build Careers
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
Post a Comment