It's probably wrong to use a scriptlet to pass the XML data into that construction. An EL expression would probably be the thing to use. But that's a question about
JSP, so I will move the question to that forum. It would help if you could append a description of your problem to the
thread -- what goes wrong when you do what you did, what you expect, that sort of thing.