http - HTML form post response on same page -


i developed simple portlet liferay contains form submit couple of parameters external webservice. problem when press submit redirected url of webservice.

is there way suppress redirection , show webservice response in same portlet made call from?

many in advance feedback appreciated.

you have use javascript (ajax) send data webservice , directly response without redirecting user. data received javascript, can display them on page.

you can jquery , function ajax().

hope, i've helped :)


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -