Re: directory path

2009-12-08 Thread André Warnier

File Send wrote:

Hi Team,

  I have started using Tomcat 5.5.27 recently and now I would like to
integrate with Axis for web service development.However, I could see many
web-inf and lib folders so I am confused where I should keep my library
files. I thought of using this location C:\Documents and Settings\minglau\My
Documents\Tomcat5.5\apache-tomcat-5.5.27\webapps. However, it does not seem
to be appropriate. Another thing - I also wrote jsp and kept it at
C:\Documents and Settings\minglau\My
Documents\Tomcat5.5\apache-tomcat-5.5.27\webapps\ROOT location but its not
getting detected from browser by typing the url
http://localhost:8080/xyz.jsp. Can any one please suggest the answers for
these two issues. 


One tip : de-install Tomcat, and re-install it to some sensible 
location, like c:\tomcat.
If nothing else, it will save you a lot of typing, and save time to 
other people on this list trying to follow your posts.


Other than that, what really happens when you enter 
http://localhost:8080/xyz.jsp; in the browser's URL bar ?


not getting detected is not really helpful here.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



directory path

2009-12-07 Thread File Send
Hi Team,

  I have started using Tomcat 5.5.27 recently and now I would like to
integrate with Axis for web service development.However, I could see many
web-inf and lib folders so I am confused where I should keep my library
files. I thought of using this location C:\Documents and Settings\minglau\My
Documents\Tomcat5.5\apache-tomcat-5.5.27\webapps. However, it does not seem
to be appropriate. Another thing - I also wrote jsp and kept it at
C:\Documents and Settings\minglau\My
Documents\Tomcat5.5\apache-tomcat-5.5.27\webapps\ROOT location but its not
getting detected from browser by typing the url
http://localhost:8080/xyz.jsp. Can any one please suggest the answers for
these two issues. I appreciate your help.

Thanks,
Ming


Fwd: Installation directory path for Tomcat 4.0

2009-11-23 Thread File Send
Hi,

I would like to use tomcat 4.0 and configure it in my IBM- Rational
Application developer. In order to configure Tomcat into my IDE, I have
downloaded the tomcat  and I just need to provide the path of the
installation directory.I tried with bin, lib and other directories but RAD
is saying - it does not point to valid tomcat installation. (C:\Documents
and Settings\ming\Desktop\AP\jakarta-tomcat-4.0\bin). Can anyone please
suggest what is the correct directory ? RAD is considering default workbench
JRE.

Thanks,
Ming


RE: Installation directory path for Tomcat 4.0

2009-11-23 Thread Caldarale, Charles R
 From: File Send [mailto:file.sen...@gmail.com]
 Subject: Fwd: Installation directory path for Tomcat 4.0
 
 I would like to use tomcat 4.0

Stop right there.  Using a seven-year-old, completely outmoded and unsupported 
version of Tomcat is utterly pointless.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
I am converting from Resin and there I can map a directory not inside
the webapp to one which can be reached via a URL and translated by Resin
as below:

  path-mapping
url-pattern/files/*/url-pattern
real-path/realdir/files/real-path
  /path-mapping

I can't seem to find a way in Tomcat to do that. Do I have to write my
own filter? Any tips or help appreciated.

Regards,
Barrie



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Tim Funk
There is no way currently. I have a patch on my local machine which 
allows add this functionality for FileDirContext.

http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html

Context path=/x
  docBase=/usr/local/crap
Resources className=org.apache.naming.resources.FileDirContext
   aliases=/a1=/mypath/images;/a2=/foopath/images /
/Context

But I haven't had time to see if my patch is secure or compliant if 
someone uses the WebDav servlet.


In the meantime - your best alternative is to use sym links.

-Tim

Barrie Selack wrote:

I am converting from Resin and there I can map a directory not inside
the webapp to one which can be reached via a URL and translated by Resin
as below:

  path-mapping
url-pattern/files/*/url-pattern
real-path/realdir/files/real-path
  /path-mapping

I can't seem to find a way in Tomcat to do that. Do I have to write my
own filter? Any tips or help appreciated.



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
There is no way currently. I have a patch on my local machine which 
allows add this functionality for FileDirContext.
http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html

Context path=/x
   docBase=/usr/local/crap
Resources className=org.apache.naming.resources.FileDirContext
aliases=/a1=/mypath/images;/a2=/foopath/images /
/Context

But I haven't had time to see if my patch is secure or compliant if 
someone uses the WebDav servlet.

In the meantime - your best alternative is to use sym links.


Tim.. thanks.. but sym links are not an option for us. I believe
managing a web app should be done in the web app configuration, not at
the OS level (too many external things to go wrong). Hopefully I'll
quickly find an alternate solution, or I guess it's back to Resin.

Regards,
Barrie

-Tim

Barrie Selack wrote:
 I am converting from Resin and there I can map a directory not inside
 the webapp to one which can be reached via a URL and translated by Resin
 as below:
 
   path-mapping
 url-pattern/files/*/url-pattern
 real-path/realdir/files/real-path
   /path-mapping
 
 I can't seem to find a way in Tomcat to do that. Do I have to write my
 own filter? Any tips or help appreciated.
 

-
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]