how to do the equivalent of invoking the execute() method with a uri in Java Server Faces

We are planning to use Java Server Faces for a new project and I am wondering how to do the following:

A link in our app will be called from an outside app. In struts, we handled this by specifying an action to this uri. So if we had an uri /, we had an action mapped to this and this would effectively invoke the execute() method of the desired action class.

How would I do the above using Java Server Faces. The jsp/html page that invokes this uri is not in our control. So we cannot specify the method to be called on the bean.

Who is Participating?
you could still use struts with JSF

or it sounds like an action listener could be used

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.