I am using Struts-2 framework to design a web interface. API is already implemented in scala and play framework.
Is there a way HttpURLConnection or HttpClient can be used to make REST call in jsp?
If yes can someone give me an example? Any reference of any book or site would also help.
I am using Struts-2 framework to design a web interface. API is already implemented
Share
here is an example on a main method, but jsp should be similar: RESTful Webservice does not handle Request Method properly. But, I’m not sure I understand why you can’t just post/get using a form?