Hi Hassan, Thanks for the response and sorry for the confusion.
The Web-directory was badly named,, but I was refering to the {tomcat}\webapp\ directory. When I was refering to Servlet Folder it would be {tomcat}\webapp\ServletDir\ Thanks, Spencer On Dec 18, 2007 10:42 AM, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On Dec 18, 2007 9:56 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > > > I've set up a security servlet that will check permissions on various > > html, pdf, xml, etc, files. > > > 1) I started with the content files out of the Web directory all > > together and kept the mapping in an xml file and then served them > > using FileInputStream and writing them to the ServletOutputStream. > > This doesn't work because any internal refrences (<img>, <style>, > > etc.) are lost. > > "lost"? How so? > > > 2) My next attempt was to put them into the Servlet folder... > > I've no idea what you mean by "Web directory" or "Servlet folder"; > maybe you could describe more precisely how your webapp is > currently configured. > > -- > Hassan Schroeder ------------------------ [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]