Hi,
I installed my application as a separate deployment. When I try to include a file with xi:include like <xi:include href="/xforms-jsp/menu.xhtml" xxi:omit-xml-base="true" /> it is giving the error \xforms-jsp\menu.xhtml (The system cannot find the path specified) When I include the file like href="http://172.31.130.131/project/xforms-jsp/tmenu.xhtml" it is working fine. Is there any other way to include the file so that when the deployment changed to a different system there is no need to change the IP address. -- Phani. S M.Tech(Software Engineering) -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Phani,
If you put the file in the orbeon/WEB-INF/resource/gaga.xml you should be able to XInclude it with: <xi:include href="oxf:/gaga.xml" xxi:omit-xml-base="true" /> But I can't think of a way to XInclude a file which would be in your application's war (remember: the code executing the XInclude is running in the context of the Orbeon's war). Alex |
Thanks for the reply,
Probably I have to use the full URL for referring the file. If you put the file in the orbeon/WEB-INF/resource/gaga.xml you should be able to XInclude it with: -- Phani. S M.Tech(Software Engineering) Motilal Nehru National Institute of Technology (+91) 9010093398 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |