<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">If you're using JSP >= 2.0 (for example Tomcat >= 5.0), you can avoid that old <%= notation.<br><br>Instead, you can write:<br><br><xf:submission action="URL?file=${request.file}"/><br><br>and this is now a valid piece of XML.<br><br>See <a href="http://jcp.org/aboutJava/communityprocess/final/jsr152/index.html">http://jcp.org/aboutJava/communityprocess/final/jsr152/index.html</a> for details of the JSP 2.0 spec.<br><br>Geoff<br><br>On 8 Jan 2009, at 17:56, Jabba Laci wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">With JDOM I produce XHTML files that are also JSP files. I would like<br></blockquote><blockquote type="cite">to do the following:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><xf:submission action="URL?file=<%= request.getParameter("file") %>" /><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">JSP should process the line to produce this:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><xf:submission action="URL?file=data.xml" /><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here, "xf:submission" is a JDOM Element object. My concern is that<br></blockquote><blockquote type="cite">JDOM transforms "<" to "&lt;". Do you have an idea how to solve it?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Laszlo<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">To control your jdom-interest membership:<br></blockquote><blockquote type="cite"><a href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</a><br></blockquote><div><font class="Apple-style-span" color="#144FAE"><br></font></div></body></html>