is it possible to call a jsp available in a different project by another project in the same workspace



I have two projects in my workspace: projectA, projectB. The web-flow of projectA has got the following:



<view-state id="hello" view="projectA/firstJSP" >
</view-state>

<action-state id="checkingvalues">
<evaluate expression="somethingIsthere" />
<transition on="success" to="hello" />
<transition on="error" to="bye" />
</action-state>


Its all working fine. The thing is: if I add the following to the projectA'flow.xml then, it is not working



<view-state id="bye" view="projectB/someJSP" >
</view-state>


Here, someJSP.jsp is in projectB(path is:/projectB/WebContent/WEB-INF/common/files/someJSP.jsp) and firstJSP.jsp is in projectA(path is:/projectA/WebContent/WEB-INF/common/gifts/firstJSP.jsp)


So is it possible to call projectB's jsp in projectA's web.xml?


No comments:

Post a Comment