Well I guess Alex already gave the answer.
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath()
Alex Objelean
Linda
Gerald Fernando wrote:
Hi Linda,
Actually my page need to call a XML file.I have stored that file in my web
content .error shows that the system could not find the file.but i give a
absolute path it is working so i need to get my tomcat path to access that
file.
How can i access that file?Is there any other way.
am expecting your reply urgent.
Thanks®ards,
Gerald A
On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal <
[email protected]> wrote:
What is it exactly you are trying to do?
Linda
Gerald Fernando wrote:
How to get context path of Application
Thanks7Regards,
Gerald A
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database:
270.13.17/2242 - Release Date: 07/16/09 18:00:00
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]