Re: virtual directory

2013-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tommy, On 3/21/13 5:00 PM, Tommy Pham wrote: > Silly me... I figured out what was the issue. I didn't have the > index page defined in Tomcat's web.xml within the D:\wwwroot. The > eventual content of this folder will be images anyway. Would I >

Re: virtual directory

2013-03-21 Thread Tommy Pham
Hi Chuck and Andre, Silly me... I figured out what was the issue. I didn't have the index page defined in Tomcat's web.xml within the D:\wwwroot. The eventual content of this folder will be images anyway. Would I need to code an interceptor to detect 404 error and path to redirect the visitor t

RE: virtual directory

2013-03-21 Thread Caldarale, Charles R
> From: Tommy Pham [mailto:tommy...@gmail.com] > Subject: Re: virtual directory > I'm still getting the 404 error with this wwwroot.xml: > > > In addition to the questions André asked, one very critical one: where is that wwwroot.xml file located? - Chuck

Re: virtual directory

2013-03-21 Thread André Warnier
Tommy Pham wrote: On Thu, Mar 21, 2013 at 11:10 AM, André Warnier wrote: Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for tag. Inside this block write a line like:: Hi. Don't top-post. And the page which the original poster apparently

Re: virtual directory

2013-03-21 Thread Tommy Pham
On Thu, Mar 21, 2013 at 11:10 AM, André Warnier wrote: > Manuel Fernández Panzuela wrote: >> >> To publish your wwwdoc directory you must edit sever.xml and look for >> >> tag. Inside this block write a line like:: >> >> >> > Hi. > Don't top-post. > And the page which the original poster apparen

Re: virtual directory

2013-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tommy, On 3/21/13 1:23 PM, Tommy Pham wrote: > I'm trying to setup my virtual directory wwwroot as > http://localhost/wwwroot/ mapped to d:\wwwroot but I'm getting > > HTTP Status 404 - /wwwroot/ > > type Status report > > message /wwwroot/ > >

Re: virtual directory

2013-03-21 Thread André Warnier
Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for tag. Inside this block write a line like:: Hi. Don't top-post. And the page which the original poster apparently mis-read, also says (in bold) : It is NOT recommended to place elements d

Re: virtual directory

2013-03-21 Thread Manuel Fernández Panzuela
To publish your wwwdoc directory you must edit sever.xml and look for tag. Inside this block write a line like:: Don't use "debug" as André says :) Un abrazo 2013/3/21 André Warnier > Tommy Pham wrote: > >> Hi, >> >> I'm trying to setup my virtual directory wwwroot as >> http://localhost

Re: virtual directory

2013-03-21 Thread André Warnier
Tommy Pham wrote: Hi, I'm trying to setup my virtual directory wwwroot as http://localhost/wwwroot/ mapped to d:\wwwroot but I'm getting HTTP Status 404 - /wwwroot/ type Status report message /wwwroot/ description The requested resource (/wwwroot/) is not available. Apache Tomcat/7.0.26 M

Re: virtual directory

2007-04-12 Thread Johnny Kewl
[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2007 11:12 PM Subject: Re: virtual directory I dont know... I think you have be spoilt by linux windows shortcuts just dont equal linux soft links... hey! :) I see what you saying even if say you made a little servlet that could suck file

Re: virtual directory

2007-04-11 Thread Johnny Kewl
From: "Sylvain Roche" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, April 11, 2007 4:16 PM Subject: Re: virtual directory Hi Johnny, hi everybody I took the images example to explain and simplify the problem, but actually I may need to include dif

Re: virtual directory

2007-04-11 Thread Hassan Schroeder
On 4/11/07, Sylvain Roche <[EMAIL PROTECTED]> wrote: The symlink solution could work, except that it is not what I want to do. The production application is hosted on linux servers, but we also have to deal with the developpers' computers, which runs windows That's fixable :-) What I need bas

Re: virtual directory

2007-04-11 Thread Sylvain Roche
The symlink solution could work, except that it is not what I want to do. The production application is hosted on linux servers, but we also have to deal with the developpers' computers, which runs windows What I need basically il to have a subdirectory of my webapp located somewhere else on m

Re: virtual directory

2007-04-11 Thread Hassan Schroeder
On 4/11/07, Sylvain Roche <[EMAIL PROTECTED]> wrote: I took the images example to explain and simplify the problem, but Regardless, I don't understand what you're trying to do -- do you want to have e.g. example.com/foo/images example.com/bar/images where 'images' points to the same con

Re: virtual directory

2007-04-11 Thread Sylvain Roche
Hi Johnny, hi everybody I took the images example to explain and simplify the problem, but actually I may need to include different contents, which may be static - like images, flash animations, html pages - but may also be jsp pages for exemple, and some of these contents are likely to be ge

Re: virtual directory

2007-04-11 Thread Johnny Kewl
Hi sylvian When developing I do this request.getContextPath() + uri; but I wrap the request.getContextPath() in a little routine like say imageMap(String uri) and use that in my JSP's Thats cool because if I change the context path the app doesnt break... BUT... I do it for a much bette

RE: Virtual Directory

2006-02-08 Thread Tim Lucia
Users List Subject: Re: Virtual Directory Tim Lucia wrote: >Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat >4.1\webapps\ directory. It should contain at least the following: > > > >Please read here: > >http://tomcat.apache.org/tomcat-5.5-do

Re: Virtual Directory

2006-02-08 Thread sumesh
Tim Lucia wrote: Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original Message- From: sumesh [mailto:[EMAIL

RE: Virtual Directory

2006-02-08 Thread Caldarale, Charles R
> From: sumesh [mailto:[EMAIL PROTECTED] > Subject: Virtual Directory > > How can I create a Virtual Directory in Apache Tomcat? I have > installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I > have some Tutorials in "E:\Tutorial" .I want to publish the same using > the same We

RE: Virtual Directory

2006-02-07 Thread Caldarale, Charles R
> From: sumesh [mailto:[EMAIL PROTECTED] > Subject: Virtual Directory > > How can I create a Virtual Directory in Apache Tomcat? I have > installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I > have some Tutorials in "E:\Tutorial" .I want to publish the same using > the same We

RE: Virtual Directory

2006-02-06 Thread Tim Lucia
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original Message- From: sumesh [mailto:[EMAIL PROTECTED] Sent: S