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)
And what do you exaclty mean with: "but Java (embedded in 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 > > > 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\my-app-dir > but Java (embedded in a XSP page) recognizes only "c:\cocoon-2.1-2". > Are there any possibilities to get the actual directory and give it > to Java function as parameter without need to code it directly in > the XSP page? > > Jan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
