jsf 2 - How to listen on a stateless POST request and set JSF managed bean properties -


i have java-ee application works jsf (managedbean, managedproperty, ect ...) , spring framework. need able retrieve data via javascript form sent external website. have opened rights authorize cors (cross origin or cross domain).

i know best way grab external form jsf processed managedbean.

to make question more explicit made diagram

==============
edit
application works jsf, i'm looking way retrieve data (from javascript form on external site) in managedbean under jsf. tried retrieve data creating java-ee standard servlet , using dopost ... methods of httpservlet. solution not work (this subject of previous question on s.o). several people told me in web application not mix java-ee standard , jsf, either servlet or jsf. made diagram (above) explaining trying do.

to recap: retrieve data external website (via javascript form) in managedbean of application.

==============

i've tried standard java-ee servlet it's not right way. indeed, standard servlet can recover data form can not access managedbean. must therefore have abandoned hypothesis.

i did not find similar question stackoverflow, if necessary can give more indications.

thank help.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -