Symbolic links in WEB-INF directory, Tomcat 5

2004-04-02 Thread Angelov, Rossen
Hi, Can Tomcat work with symbolic links in WEB-INF instead of real directories? I have allowLinking set up to true and the Resources element is in the corresponding context but still Tomcat will fail deploying the application if I have symbolic links. My goal is to be able to link most of the c

Jasper2 (JSPC) compiler option for WEB-INF directory?

2003-03-30 Thread johannes . fiala
jasper2 task where to find the WEB-INF directory?? At first glance it seems there is no option for this available: thx alot Johannes

Re: web-inf directory

2003-01-23 Thread Craig R. McClanahan
On 23 Jan 2003, Felipe Schnack wrote: > Date: 23 Jan 2003 14:55:02 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: web-inf directory > > Hey guys.

Re: web-inf directory

2003-01-23 Thread Jacob Kjome
t 02:55 PM 1/23/2003 -0200, you wrote: Hey guys... I was wondering, how can make my servlet, for instance, list all files in its application WEB-INF directory? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário

web-inf directory

2003-01-23 Thread Felipe Schnack
Hey guys... I was wondering, how can make my servlet, for instance, list all files in its application WEB-INF directory? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
>>All Loggers and Valve elements in server.xml are optional. Comment them all out and see what you get ;) Then comment them back in if you'd like, and experiment with their verbosity levels. I tried this out, but I was always getting some mapping/request information. I dont find a way out !!

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Shapira, Yoav
Howdy, >Yes, I aggree its good idea to use log4j. Time a problem, you know. It >takes more time for me to use those. Yes, it does. But when debugging a problem takes 1 times less, you won't be complaining ;) >I was not sure whether we can avoid mapping/request information in Logger >or Valv

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
1, 2003 3:34 AM >To: 'Tomcat Users List' >Subject: RE: How do I get the absolute path of a file in a directory abov e >WEB-INF directory of my web application? > >Hi Yaov, > >All other writing should be done to directories/files declared as >parameters to you

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Shapira, Yoav
age- >From: Madhava Reddy [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 21, 2003 3:34 AM >To: 'Tomcat Users List' >Subject: RE: How do I get the absolute path of a file in a directory abov e >WEB-INF directory of my web application? > >Hi Yaov, > >All oth

RE: How do I get the absolute path of a file in a directory abov e WEB-INF directory of my web application?

2003-01-21 Thread Madhava Reddy
Hi Yaov, All other writing should be done to directories/files declared as parameters to your context or servlets. For example: logFile /tmp/blahblahLogs/blahblahLogFile.txt This way other people using/deploying your app can configure these settings to a directory that suits their deployme

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Madhava Reddy
No. The Java IO (and nio) APIs as well as every logging framework I've used take care of this for you. >> thanks Yaov.. let me try this... Madhava Reddy

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Shapira, Yoav
Howdy, >>> Do we need to make sure the file blahblahLogFile.txt exists before >deploying the application? No. The Java IO (and nio) APIs as well as every logging framework I've used take care of this for you. Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail:

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Madhava Reddy
All other writing should be done to directories/files declared as parameters to your context or servlets. For example: logFile /tmp/blahblahLogs/blahblahLogFile.txt This way other people using/deploying your app can configure these settings to a directory that suits their deployment. >> D

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Shapira, Yoav
set of individual files. Your mileage may vary, Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Erik Price [mailto:[EMAIL PROTECTED]] >Sent: Monday, January 20, 2003 10:24 AM >To: Tomcat Users List >Subject: Re: How do I get the absolute path of a file

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Shapira, Yoav
Hi, >Just to make sure I have this right: the only time that a webapp is >allowed to write files in a portable fashion is in the temporary >directory provided by the ServletContext? Yes. All other writing should be done to directories/files declared as parameters to your context or servlets. Fo

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Jacob Kjome
Why would one use normal File IO to attempt an absolute file path to the WEB-INF directory of a webapp? Use what the servlet spec provides for you. String absolutePath = getServletContext().getRealPath("/WEB-INF"); File file = new File(absolutePath); Just make sure to che

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Madhava Reddy
-Original Message- From: Holger Klawitter [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 11:00 AM To: Tomcat Users List Subject: Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application? > java.io.File dir1 =

Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Holger Klawitter
> java.io.File dir1 = new java.io.File ("..\\"); // line 1 new java.io.File( ".." + File.separator ) would be a somewhat cleaner. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2003-01-20 Thread Madhava Reddy
lto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 9:54 AM To: Tomcat Users List Subject: Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application? I don't know offhand how you can do that, but if you want to reach up above the WEB-INF direc

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Tim Moore wrote: It wouldn't be hard to write a custom task to do that. Seems like it would be better to fix the source tree structure in CVS, though. It's kind of a PITA, but once it's done, it's done. I agree -- it just doesn't seem right to have a flattened hierarchy in CVS. But I

RE: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:29 PM > To: Tomcat Users List > Subject: OT: Re: Classes not being found in app's WEB-INF directory. > > > > > Tim Moore wrote: > > >&

OT: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Tim Moore wrote: Can Ant read the package declarations of the source files to determine where they should be placed, or will I have to hard code the paths into the tasks? It wouldn't be hard to write a custom task to do that. Seems like it would be better to fix the source tree structur

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 1:07 PM > To: Tomcat Users List > Subject: Re: Classes not being found in app's WEB-INF directory. > > > > > Raible, Matt wrote: > > Use Ant to

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Raible, Matt wrote: Use Ant to build everything - and tell it where you want your compiled classes to end up. That's a good idea. I am using Ant currently, but hadn't thought of doing this. The only problem is that I use NetBeans, which requires that the source code be stored in the proper

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Raible, Matt
Use Ant to build everything - and tell it where you want your compiled classes to end up. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:07 AM To: Tomcat Users List Subject: Re: Classes not being found in app's WEB-INF directory.

Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Erik Price
Lior Shliechkorn wrote: I had a bunch of problems with that until I packaged the classes and then it had no problem finding the class files. Give that a try. I too made the mistake of putting all of my classes directly under WEB-INF/classes. Now I would like to put them into a proper package

Re: Classes not being found in app's WEB-INF directory.

2003-01-16 Thread Lior Shliechkorn
I had a bunch of problems with that until I packaged the classes and then it had no problem finding the class files. Give that a try. Hope it helps "Lott, Carey" <[EMAIL PROTECTED]> wrote:Hi, I am running tomcat4.0.4 as a standalone on Solaris 7. Simple servlets that don't need any custom built

Classes not being found in app's WEB-INF directory.

2003-01-16 Thread Lott, Carey
Hi, I am running tomcat4.0.4 as a standalone on Solaris 7. Simple servlets that don't need any custom built classes run fine within the $CATALINA_HOME/webapps/esd/WEB-INF/classes directory. However, servlets that are dependent on other custom classes will not run when all of the needed classes ar

Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2002-11-29 Thread Andreas Probst
ed instead of getRealPath. > > > > Hope this helps. > > > > Andreas > > > > > > On 29 Nov 2002 at 1:18, Peter Lee wrote: > > > > > I am using Tomcat for servlets. > > > How do I get the absolute path of a file in a directory

Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

2002-11-29 Thread David Brown
Peter Lee writes: I am using Tomcat for servlets. How do I get the absolute path of a file in a directory above WEB-INF directory of my web application? Thanks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]&g

Protecting the WEB-INF Directory - Apachee

2002-11-28 Thread Asaf Barkan
Hi all, There is a security bug reported at: http://www.westpoint.ltd.uk/advisories/wp-02-0002.txt Which encounter the possibility to retrieve configuration files from tomcat WEB-INF directory, Through web servers used to route requests to tomcat. In the IIS the isapi_redirect.dll Protects us

How to access jsp from inside WEB-INF directory [jay]

2002-10-04 Thread Jay Hombal
Hi Friends I am having issue with getting jsp's executing from within a subdirectory from the WEB-INF directory of the Tomcat4.1.12. This works on other servers like orion. we did this as means to protect access to other jsps without establishing sessions thanks jay -- To unsubs

Re: WEB-INF directory is not created...?

2002-06-18 Thread Craig R. McClanahan
On Mon, 17 Jun 2002, Hai To Thanh wrote: > Date: Mon, 17 Jun 2002 19:14:38 -0700 (PDT) > From: Hai To Thanh <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: WEB-INF directory is not created...? > > Hi