Fórumok

update jsp on web service call

thumbnail
Abhishek Suthar, módosítva 8 év-val korábban

update jsp on web service call

New Member Bejegyzések: 18 Csatlakozás dátuma: 2013.06.26. Legújabb bejegyzések
I have custom webservice deployed on my server.
I am able to access its nethod via remote invocation like curl or by url.
Now my question is can I update jsp page when some third party server call this json web service directly means via url or curl .
Is there any way?
thumbnail
Olaf Kock, módosítva 8 év-val korábban

RE: update jsp on web service call (Válasz)

Liferay Legend Bejegyzések: 6403 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések
Sounds like you would like a second opinion without telling anyone that there is already a discussion about this going on?
thumbnail
David H Nebinger, módosítva 8 év-val korábban

RE: update jsp on web service call

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Abhishek Suthar:
Now my question is can I update jsp page when some third party server call this json web service directly means via url or curl .
Is there any way?


No, and there shouldn't be.

A web service is a standalone thing and a portlet is a separate thing.

If your issue is that you want to share the code, well then you have to code it that way. If you expect some sort of magical browser update to show that someone invoked the web service, well no nothing like that will be out there. You could use LMB or database to store the update, but nothing magically will bind them together.