Re: Getting the current working directory

2004-01-07 Thread Jan Wielgus
>Jan, > >I don't know the details of your configuration, but what is the RealPath >input module returning? >As a test, try one of the samples: >http://localhost:8080/cocoon/samples/modules/realpath.xsp (modify for your >environment) That is exactly that what I need:) Thank you very very much!:))

RE: Getting the current working directory

2004-01-06 Thread Hugo Burm
a XSP page) recognizes only c:\cocoon-2.1-2.". Recognizes from what input? Hugo > -Original Message- > From: Jan Wielgus [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 2:14 PM > To: [EMAIL PROTECTED] > Subject: Getting the current working directory > &g

Re: Getting the current working directory

2004-01-06 Thread Jorg Heymans
the "actual current working directory" is a bit ambiguous here. For java it will always be the directory from where the application is started from. I can think of ugly non portable hacks using Runtime.getRuntime().exec("insert your external program here"); but surely you can save yourself this m

Getting the current working directory

2004-01-06 Thread Jan Wielgus
Hi, I would like to get the _actual_ current working directory, as I want to write files on the server. As I'm using Java for that, I need to have the full path explicitly. I can't use the protocols such as 'context:/' or 'cocoon:/'. I have my app in such a directory: c:\cocoon-2.1.2\build\webapp