> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat deployment changes since Tomcat 5.5.12 > > But the result is the same : > - exceptions in Tomcat logs, > - getServletContext().getRealPath(...) is null
There's no guarantee that getRealPath() will return anything useful, although it usually does with an unpacked war. Do you really need the actual path? Would getResourceAsStream() suffice? Take a look at: http://wiki.apache.org/tomcat/HowTo#head-45c3314139cb900ddd43dde2ff67153 2e6e844bc - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]