문제

I have an ear , Sample.ear and two war files and one jar file in that It's like this

  Sameple.ear
     |--- UI1.war
     |--- UI2.war
     |--- Model.jar

I have a managed-bean(backing-bean) defined in UI1.war . Is it possible to access that particular managed-bean in a jsf page inside UI2.war ?

I tired to get it like #{LoginBean.username} (LoginBean is the managed bean inside UI1.war which I want to access ) , in my UI2.war , but FacesContext is not able to resolve this .

Pls help

Thanks J

도움이 되었습니까?

해결책

Yeah . FacesContext is limited per WAR files.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top