Re: Servlet File Structure

2007-12-19 Thread Spencer Tickner
Hi Hassan and David, Thanks, for the response. Hassan of course you're right, there are always some standard for internal paths that have to be adhered to. However with relative paths coming from editors that edit html their documents can be seen exactly on the file system as they can be seen on a

Re: Servlet File Structure

2007-12-18 Thread David Smith
Just by chance, could we see a sample url to one of your pages and a sample internal link? It doesn't seem like this should be a big deal. --David Spencer Tickner wrote: Hi Hassan, I wish I could establish a convention for internal links.. Unfortunately it's not possible as we get co

Re: Servlet File Structure

2007-12-18 Thread Hassan Schroeder
On Dec 18, 2007 4:45 PM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > I wish I could establish a convention for internal links.. > Unfortunately it's not possible as we get content from a diverse > editor base where our system may not be the primary delivery method. Then you're hosed, I think :-)

Re: Servlet File Structure

2007-12-18 Thread Spencer Tickner
Hi Hassan, I wish I could establish a convention for internal links.. Unfortunately it's not possible as we get content from a diverse editor base where our system may not be the primary delivery method. Looking through our correspondence it would seem that I am trying to address the problem when

Re: Servlet File Structure

2007-12-18 Thread Hassan Schroeder
On Dec 18, 2007 11:41 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > Once again thanks for the feedback,, the issue I would have with the > solution above is that content (html, pdf, xml) is maintained by > editors that I have no control over. They simply make their content > look the way the wa

Re: Servlet File Structure

2007-12-18 Thread Spencer Tickner
Hi Hassan, Once again thanks for the feedback,, the issue I would have with the solution above is that content (html, pdf, xml) is maintained by editors that I have no control over. They simply make their content look the way the want and then upload it to my application. I could feasibly search o

Re: Servlet File Structure

2007-12-18 Thread Hassan Schroeder
On Dec 18, 2007 11:03 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > The files are "lost", as I'm firing the servlet in the > {tomcat}\webapp\ServletDir\, that then reads a file "C:\somefile.htm" > that in it has reference to C:\. somefile.htm is read and returned to the browser fine,, but the >

Re: Servlet File Structure

2007-12-18 Thread Spencer Tickner
Thanks, Hassan,, that gives me a start. On Dec 18, 2007 11:03 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > The files are "lost", as I'm firing the servlet in the > {tomcat}\webapp\ServletDir\, that then reads a file "C:\somefile.htm" > that in it has reference to C:\. somefile.htm is read and

Re: Servlet File Structure

2007-12-18 Thread Spencer Tickner
The files are "lost", as I'm firing the servlet in the {tomcat}\webapp\ServletDir\, that then reads a file "C:\somefile.htm" that in it has reference to wrote: > Hi Hassan, > > Thanks for the response and sorry for the confusion. > > The Web-directory was badly named,, but I was refering to the >

Re: Servlet File Structure

2007-12-18 Thread Hassan Schroeder
On Dec 18, 2007 10:50 AM, Spencer Tickner <[EMAIL PROTECTED]> wrote: > 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\ Have you read the Servlet Spec? I think it would give

Re: Servlet File Structure

2007-12-18 Thread Spencer Tickner
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 <[

Re: Servlet File Structure

2007-12-18 Thread Hassan Schroeder
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 serv

Servlet File Structure

2007-12-18 Thread Spencer Tickner
Hi List, thanks in advance for the help. I'm fairly new to tomcat so I appologize for anything I say that may be painfully obvious. I've set up a security servlet that will check permissions on various html, pdf, xml, etc, files. I've managed the security and caching and filtering so this is not