[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

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 /getWorkItems.do, 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.

Thanks,
0
bnss
Asked:
bnss
1 Solution
 
objectsCommented:
you could still use struts with JSF

http://www-128.ibm.com/developerworks/java/library/j-integrate/

or it sounds like an action listener could be used

http://www.onjava.com/pub/a/onjava/2003/07/30/jsf_intro.html?page=2

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now