Re: Relative internal links

2008-06-05 Thread David Smith
avid Walter Thompson wrote: I am talking about servlet code and configuration file information and links in the htlm pages on the server under the root directory. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 5:00 PM To: Tomcat Users

RE: Relative internal links

2008-06-05 Thread Walter Thompson
internal links You mention links like ../webapps/MCRCServlets/logs/MCRCServlets.log which implies these are presented in the browser, but then your talk about absolute paths like C:/www/ implying a local read of the file system. These don't normally go together. Could you clarify how you are

Re: Relative internal links

2008-06-04 Thread Johnny Kewl
- Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 05, 2008 2:07 AM Subject: Re: Relative internal links Not to beat people over the head with the servlet spec, this citation from servlet spec 2.4, S

RE: [OT] Relative internal links

2008-06-04 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Relative internal links > > Hate to see the cell phone bill ;) On at least AT&T, data is unlimited on all plans that include it - until you get outside of the US. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Relative internal links

2008-06-04 Thread Johnny Kewl
Embedded systems, including routers. (I actually have been toying with putting Tomcat on a cell phone; >admittedly this is a lot like the old Dilbert cartoon - 1989/09/06 - about him creating a machine that >transforms pocket lint into a parsely substitute; the punch line is "I'm technology dr

Re: Relative internal links

2008-06-04 Thread David Smith
t wouldn't be backed by a real file system. --David Johnny Kewl wrote: - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 05, 2008 1:26 AM Subject: RE: Relative internal links From: John

RE: Relative internal links

2008-06-04 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Relative internal links > > What devices does tomcat run on that doesnt have a file > system? Are you thinking cell? Embedded systems, including routers. (I actually have been toying with putting Tomcat on a cell ph

Re: Relative internal links

2008-06-04 Thread Johnny Kewl
- Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 05, 2008 1:26 AM Subject: RE: Relative internal links From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Relative internal links Ha

RE: Relative internal links

2008-06-04 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Relative internal links > > Have a look at this function... > getServletContext().getRealPath("/"); > > Thats a nice way to find out where you are Only if you're running in an environment that

Re: Relative internal links

2008-06-04 Thread Johnny Kewl
Good luck Have a look at this function... getServletContext().getRealPath("/"); Thats a nice way to find out where you are and if you make files relative to something like this, doesnt matter what users do with working paths. Something like that ;) -

Re: Relative internal links

2008-06-04 Thread Johnny Kewl
- Original Message - From: "Walter Thompson" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 04, 2008 11:25 PM Subject: Relative internal links I have run into an issue with Tomcat6. In Tomcat5 we were using links like "../webapps/MCRCServlets/logs/MCRCServlet.

Re: Relative internal links

2008-06-04 Thread David Smith
You mention links like ../webapps/MCRCServlets/logs/MCRCServlets.log which implies these are presented in the browser, but then your talk about absolute paths like C:/www/ implying a local read of the file system. These don't normally go together. Could you clarify how you are using these

Relative internal links

2008-06-04 Thread Walter Thompson
I have run into an issue with Tomcat6. In Tomcat5 we were using links like "../webapps/MCRCServlets/logs/MCRCServlet.log" in the Java Code. I copied all of the folders over from Tomcat5 to Tomcat6 so that they have the same directory structure: webapps root