Question: MyCode (a line in a gsp of grails)

```
  <h3><g:message code="view.hello"/><span style="color:orange"><g:message code="view.world"/></span><h3></h3>

```

Output

> 
> HelloWorld(in orange World)
> 
> 
> 

But dont like how i put this line of my code. I wish do something like this.  

the code i want

> 
> 
> > 
> > messages.properties (put inside string+html)  
> > 
> > 
> > 
> > 
> > > 
> > > view.helloword= hello>span style="color:orange">World>/span>
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 

But output is:

> 
> 
> > 
> > hello>span style="color:orange">World>/span>
> > 
> > 
> > 
> 
> 
> 

Dont look html code. how i can resolve?

Answer: 
Unfortunately it isn't that easy. JBoss has introduced the concept of modules. You'll need to understand how they work if you want to override library versions that JBoss provides. Check out the documentation here:

<https://docs.jboss.org/author/display/WFLY8/Class+Loading+in+WildFly>

and

<https://docs.jboss.org/author/display/WFLY8/Implicit+module+dependencies+for+deployments>
If you add a library to your `lib` directory WildFly will include those libraries in you class path. Which means if you include Primefaces you will get Primefaces in your class path. WildFly does not include Primefaces as a module.

For server dependencies, like the JSF implementation, WildFly will load it's provided dependency first before the one in your `lib` directory. That said you don't really want to be overriding implementations like this. It's part of the Java EE specification and will be provided by any Java EE compliant server.

You should also read the links that [jgitter](https://stackoverflow.com/users/2308571/jgitter) suggested.