Hi,

>From the other I was having, I noticed that I can access static resources
trought moduleResources/radiology/somePath

But, I am not sure of what is happening, because I go to
http://localhost:8080/openmrs/moduleResources/radiology/felix-config.properties

and the server console says me this:

WARN - ModuleResourcesServlet.doGet(64) |2011-10-26 17:27:23,031| No object
with path
'D:\apache-tomcat-6.0.28\webapps\openmrs\\WEB-INF\view\module\radiology\resources\felix-config.properties'
exists for module 'radiology'

Again the double \\, Could it be a core bug?

2011/10/21 Juan David Pastás Rivera <[email protected]>

> Hi,
>
> **** reference a static page ****
>
> I am doing a spring annotated controller with the route
> "/module/radiologymodule/felix-config.properties" but I do not know how the
> core resolves the views.
>
> What I need is to:
>
> 1. have a file called felix-config.properties in my module (I do not know
> where is the best place to put in my source)
> 2. have a controller or something that allows me to access that file, I
> wouldn't like a controller I think there should be a better alternative
>
> **** Server environment variable ****
>
> I need to put the URL http://localhost:8080/openmrs as a variable of the
> form ${server.openmrs}, which is that environment variable?
>
> or where can i find a list of the environment variables?
>
> I used this:
>
>         Map<String, String> env = System.getenv();
>         for (String envName : env.keySet()) {
>             System.out.format("%s=%s%n", envName, env.get(envName));
>         }
>
> but did not give me useful information.
>
> Thanks in advance
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to