views:

30

answers:

2

Hi! I'm sending from spring controller ModelAndView with object org.w3c.dom.Document. So I need to print it on my jsp without scriplets. Is there any way to do this with jstl? ThanX))

+1  A: 

JSTL has XML tags. You can try <x:out>

But it might be better to use a Controller (or Servlet) and print the document to the response.getOutputStream(), using the method I provided in this answer

Bozho
A: 

Thank you) x:out doesn't work. Document is unknown object for this one... I'll use the method provided in your answer.)

Vov4a
Please register your user account. Otherwise the user account is tied to a specific machine/webbrowser (it's backed by a cookie). Right now you have multiple user accounts and you aren't able anymore to control questions of the other account, comment on answers and accept answers.
BalusC