Re: Hiding resources

2005-02-03 Thread Mario Winterer
Thanks for your and Nix' advice - I know that what I do is not the clean and nice approach. If I were you, I'd challenge my solution too! But: In fact - we do have local CVS sandboxes on the development PCs - and we do have a separate development webserver for testing. And we do use this system

Re: Hiding resources

2005-02-03 Thread David Smith
Just a thought or two -- 1) Setup a request filter that detects when the URL contains the pattern CVS/ and redirects to a default or error page. -or- 2) Setup a servlet mapping for any of the potential CVS URLs and have them map to a servlet that responds with an error or redirect. --David

Re: Hiding resources

2005-02-03 Thread Mario Winterer
Thanks David, I think, your second suggestion will not work, because it is not possible to map a servlet or filter to */CVS/*. According to the servlet-specs, only filters of the form anything/* or *.extension are supported (and I really do not want to add a servlet-mapping for every single

Re: Hiding resources

2005-02-03 Thread Tim Funk
getRequestURI() will return the encoded item but getServletPath() will have the decoded path for you (without contextPath - but in this case - you won't care about that) -Tim Mario Winterer wrote: Thanks David, I think, your second suggestion will not work, because it is not possible to map a

Hiding resources

2005-02-02 Thread Mario Winterer
Hi! I'm running a web application that is under CVS, which means my web application contains a lot of CVS-related directories (for the CVS-metadata). Is there a possibility to tell Tomcat to hide or protect all those CVS directories? More general, what I need is a way to hide/protect all files

Re: Hiding resources

2005-02-02 Thread Mark Eggers
How about doing your development in a different area, and do your your deployment via export? You could also frontend your Tomcat wtih Apache and deny access with Apache. Just a couple of random thoughts . . . /mde/ __ Do you Yahoo!?

Re: Hiding resources

2005-02-02 Thread Nikola Milutinovic
Mario Winterer wrote: Hi! I'm running a web application that is under CVS, which means my web application contains a lot of CVS-related directories (for the CVS-metadata). Is there a possibility to tell Tomcat to hide or protect all those CVS directories? More general, what I need is a way to

Help with hiding resources

2002-05-07 Thread Kris Kras
/ None of the combinations worked. Can anyone help me with configuring these two parameters so the Tomcat can find myapplet.jar. Or is there a better solution to hiding resources under Tomcat. Any help would be greatly appreciated. Thanks Kris -- To unsubscribe, e-mail: mailto:[EMAIL

R: Help with hiding resources

2002-05-07 Thread Alessio Fiore
maggio 2002 15.09 A: [EMAIL PROTECTED] Oggetto: Help with hiding resources Hello all, I have an application using jsps, servlets and applets runing under Tomcat 4.03 and Struts 1.0 (win2k server). My application is located under C:\Tomcat4\webapps\applications\ and all jsp files are there. Some

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
off of the root directory? Sorry if my mumbling is confusing I am just trying to understand what my options are. Thanks Kris -Original Message- From: Alessio Fiore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 9:37 AM To: 'Tomcat Users List' Subject: R: Help with hiding resources

R: Help with hiding resources

2002-05-07 Thread Alessio Fiore
to understand what my options are. Thanks Kris -Original Message- From: Alessio Fiore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 9:37 AM To: 'Tomcat Users List' Subject: R: Help with hiding resources Hi Kris, the jar that contains the applet and related classes *must* be accessible

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
Thank you Alessio for the clarification, Regards Kris -Original Message- From: Alessio Fiore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 10:12 AM To: 'Tomcat Users List' Subject: R: Help with hiding resources Thank you Alessio, does this mean that if I put the jar files

RE: Help with hiding resources

2002-05-07 Thread Kris Kras
-Original Message- From: Alessio Fiore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 10:12 AM To: 'Tomcat Users List' Subject: R: Help with hiding resources Thank you Alessio, does this mean that if I put the jar files in WEB-INF/lib directory they will be invisible

Re[2]: Help with hiding resources

2002-05-07 Thread Jacob Kjome
From: Alessio Fiore [mailto:[EMAIL PROTECTED]] KK Sent: Tuesday, May 07, 2002 10:12 AM KK To: 'Tomcat Users List' KK Subject: R: Help with hiding resources Thank you Alessio, does this mean that if I put the jar files in WEB-INF/lib directory they will be invisible to the browser? The WEB-INF/lib