db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrique Gomes <li...@farol.co.pt>
Subject Re: Database not found while in Tomcat / jsp
Date Thu, 11 Nov 2004 11:34:35 GMT
On Nov 11, 2004, at 7:23, SML wrote:
> Thanks. No relative path worked, but the absolute from / did. Is there
> anything that I could do that would make a relative path work? This is 
> a
> school project which I'm developing on Linux, and it will be displayed
> in class on a Windows machine ... and I don't think / vs. C:/ will
> translate :)
>

Look into ServletContext.getRealPath()


---
Henrique Gomes
hmng@farol.co.pt


Mime
View raw message