Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack


Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The resources folder is located in the module structure at:

Code Block

In a non-mavenized module, it would be at

Code Block

This folder may contain javascript, css, images, etc.

A file named taskpane.css in the resources folder for the module formEntry can be accessed via http://../openmrs/moduleResources/formEntry/taskpane.css.

To add it to your jsp page just do the following.

Code Block
<openmrs:htmlInclude file="/moduleResources/formEntry/taskpane.css"/>

The reason the files cannot be kept in the folder /web/module along with the other jsp files is due to the Spring redirection taking place. The jsp files are accessed either by a redirect from their corresponding .htm file or via setup in the module's application context file.