0 Replies Latest reply: Aug 18, 2011 6:26 PM by jonny5 RSS

JSTL c:import doesn't work properly in JBoss 6

jonny5 Newbie

The Java Standard Tag Library c:import tag doesn't work properly in JBoss 6.  According to the documentation it is supposed to assign the contents of the URL to a variable when the var attribute is supplied.  This doesn't happen, instead it dumps the output directly to the page as if no var attribute was supplied:

 

<c:import url="/REST/services" var="services" />

 

The above snippet doesn't work properly, it is supposed to assign JSON markup to a variable but instead it appears in the web-browser jumbled-in with the rest of the web page render.