Re: [Dspace-tech] get dspace configuration in runtime

2014-06-19 Thread Pablo Buenaposada
Thanks, it works, I left an example of how to get user,password and url from dspace.cfg <%@ page import="org.dspace.core.ConfigurationManager"%> <% String username = ConfigurationManager.getProperty("db.username"); String password = ConfigurationManager.getProperty("db.password"); String url =

Re: [Dspace-tech] get dspace configuration in runtime

2014-06-18 Thread Adan Roman
Hi try org.dspace.core.ConfigurationManager regards Hi, Is there any java class where I can get all the dspace.cfg variables from a jsp in order to don't need to load and parse the dspace.cfg file? Thanks. -- Pablo Bu

[Dspace-tech] get dspace configuration in runtime

2014-06-18 Thread Pablo Buenaposada
Hi, Is there any java class where I can get all the dspace.cfg variables from a jsp in order to don't need to load and parse the dspace.cfg file? Thanks. -- Pablo Buenaposada Tècnic de Càlcul i Aplicacions Consorci de S