Hi,

Thanks. I found that on Solaris, JServ uses "/" as the default working directory. Does 
anyone know is there is a way to change that?

-Girish




-----Original Message-----
From:    Michael Prescott [EMAIL PROTECTED]
Sent:    Thu, 25 May 2000 11:50:50 -0400
To:      [EMAIL PROTECTED]
Subject: RE: Urgent: JServ working directory


I had the same problem on another platform;  there's an easy way to find
out: get the absolute path of the "." file.  The code is something like
this:

  File workingDirectory = new File(".");
  System.out.println( workingDirectory.getAbsolutePath() );

Michael

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Girish Wadhwani
Sent: Wednesday, May 24, 2000 7:31 PM
To: [EMAIL PROTECTED]
Subject: Urgent: JServ working directory


Hi,

I am creating a file in the default working directory of Jserv but I don't
have permission to write to it. I can't find the working directory of JSev
on Solaris. Their FAQ said it is the jserv root but the top-level directory
/jserv doesn't seem to work. Does anybody know where it is? Is it off of the
root directory of apache /apache. Please let me know the name.

-Girish
___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html




___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to