JavaScript error commenting JSP tags

X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1

As I wanted to use only parts of a generated X-Application (view, modify and delete) out of a Corporate Marketing application, I set some tags in the JSP pages mentioned above to “comment” using , namely the calls of the search and create pages. Doing so, I got a JavaScript error when committing a modification. I got rid of this error after deleting the comment lines completely out of the pages. —This means that JSP tags are somehow “working” although set to “comment”. As I’m not a JSP expert, I didn’t know that before. — Regards, Stephan

Hi Stephan,

yes you’re right the does not work with JSP pages. But there’s a special way to comment in JSP. Just use <%–…--%>. This should work for selectively block out scriptlets or tags.

Thanks for your contribution.


Stefan Schwalm
Software AG, Darmstadt