Hi, how i include a file outside the war file, i tried this in the web.xml but the eclipse acuses a error, <path-mapping url-pattern='/var/*' real-path='/var/*'>
pageContext.include("../"+habilitationConfirm.getCondSaleName()); it comes back to /home.... i can't reach the /... to do /alinkoutsidethewarfile [ June 14, 2005: Message edited by: Dalmo Costa ]
We too once wanted to include an XML file outside the war file, but couldnt succeed till the end.
Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside HereWEBlog
We had a Properties file inside the war file which holded the path of the XML property file. And we had to place the XML property file over there in server.
The server first loads the path from the property text file within the war file and from that path, it reads the XML file.
Yeah..!! its redundancy of having two files and if we miss packaging the XML file to the destination, it would lead to errors, but we didnt have any solution.
Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside HereWEBlog