dcsimg

How can I put raw Java code in my JSP pages?

John Zukowski

Include your code within <% and %> tags. This is called a scriplet. You can access beans directly or do anything you would like with plain Java code.