[jboss-dev-forums] [JBoss Web Development] - JSTL c:import doesn't work properly in JBoss 6

Jonathan Neufeld do-not-reply at jboss.com
Thu Aug 18 20:50:02 EDT 2011


Jonathan Neufeld [http://community.jboss.org/people/jonny5] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/621783#621783

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621783#621783]

Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110818/0aa25f89/attachment.html 


More information about the jboss-dev-forums mailing list