Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adding Java code to JSP in NetBeans

843844Aug 31 2009 — edited Sep 3 2009
Hello,
I am developing a web application and need to create a dynamic table.
For that purpose I read the best solution is adding Java code to the JSP file.
I tried enterring some Java code like this, <% "Java Code" %> but I am getting the following exception:
Exception Details: org.apache.jasper.JasperException
The content of elements must consist of well-formed character data or markup.
Any ideas?
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2009
Added on Aug 31 2009
9 comments
280 views