Not exactly what I was looking for, but I did find this: http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html?l=new
Thanks, Dennis Kishore Senji <[EMAIL PROTECTED]> 09/01/2005 12:47 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To Struts Users Mailing List <user@struts.apache.org> cc Subject Re: [OT] Application context URL http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getContextPath() On 9/1/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > I'm using iText to dynamically create PDF and I'd like to make them > available by appending the location of the generated file to the > application context URL. I'll be using a filter to prevent the files from > being generally availalable. > > So is it possible to programmatically determine the app context url? > > Thanks, > Denis >