> > props.load ( new FileInputStream ( new File
> >> > ("E:\\Workspace\\TMS\\WebRoot\\WEB-INF\\conf\\database.properties")))
> ;
> >> >
> >> > String host= "hostname";
> >> > String val = pr
INF\\conf\\database.properties"))) ;
>> >
>> > String host= "hostname";
>> > String val = props.getProperty ("Host Name Is :"+ host ) ;
>> >
>> > Using the above code, I have got both hostname and url.
>> >
>> > B
y ("Host Name Is :"+ host ) ;
> >
> > Using the above code, I have got both hostname and url.
> >
> > But my problem is, How to get the current project database.propertiesfile
> > path.
> >
> > Because in the above path name is hard coded.
>
the above path name is hard coded.
>
> So How we get current project database.properties file path?
>
> Thanking you.
>
>
>
> Thank You
> Edward
> --
> View this message in context:
> http://www.nabble.com/How-to-get-path-name--tf4363832.html#a1
--
View this message in context:
http://www.nabble.com/How-to-get-path-name--tf4363832.html#a12438194
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]