web services - how can i get data from webservice in jsp -


this part of view.jsp:

<form action="some_test_url" method="get"> <input type="hidden" name="operation" value="sumoketos_sumos" /> <input type="text" name="kodas"> <input type="submit" value="ieškoti" /> </form> 


im getting result in new page:
{"id":"102061","metai":"2015","suma":"-2627.3"}
how can put data table on same view.jsp page?

you use resourceurl , perform action in ajax. in response, use javascript place information in table.


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -