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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -