| Author |
jax-rs returning to html page that called it
|
Keith Spriggs
Greenhorn
Joined: Jul 19, 2012
Posts: 18
|
|
Hi Guys,
Need a helping hand.
I'm trying to strech my limits I have no problem doing the following in javascript, but I'm trying to push my self into learning some REST.
What i'm trying to do is create a html interface that sends two numbers into a rest web services and then performs a calculation on those values.
There is no problem with the service itself and currently the result is displayed on a new web page.
What I'm trying to do is to get the result from the web service back onto the same page as the one the called it.
here is the code
Here is the html
and here is the rest or jax-rs
it's configured through netbeans and glasssfish server
I would appreciate any help
Keith
|
 |
Praful Thakare
Ranch Hand
Joined: Feb 10, 2001
Posts: 613
|
|
|
Ajax is the answer.
|
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
|
 |
 |
|
|
subject: jax-rs returning to html page that called it
|
|
|