[opencms-dev] Impossible to use jsp declarations ?
nicolas.delsaux at online.fr
Fri Jun 13 13:16:01 CEST 2003
On Fri, 13 Jun 2003 11:09:04 +0200, Alexander Kandzior <alex at opencms.org>
> you can't mix JSP declarations <%! ... %> with JSP output like <%= xxx
> %>. This is so in all JSP, and it is not related to OpenCms.
Like used to say one of my old friends "oops !"
> If your really need to write to your JSP inside your method, you must
> pass the "out" object from the JSP to your method on calling. It would
> look like this on your JSP:
> <% listFilesAndFolders(out, cms, uri); %>
> In your method, you need to use
Thanks for that precision, Alex !
> Best Regards,
"Nous ne parvenons jamais à des pensées. Elles viennent à nous."
More information about the opencms-dev