A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
difference between tags?
Joined: Apr 13, 2004
May 25, 2004 14:56:00
What is the difference between these two types of tags <% %> and <%= %> ?
Joined: Dec 13, 2003
May 25, 2004 16:24:00
1. <% %> - jsp scriptlet.
code you write here becomes part of the _jspService method after translation. For example: <% int i = 0; %>
2. <%= %> - jsp expression.
Whaterever you write here will be outputted to the html page generated by your jsp page.
I suggest that you pick up a jsp book and start reading about the basic java tags and practice using them using a free servlet/jsp container like
I agree. Here's the link:
subject: difference between tags?
what is the difference between <s,<mx,<fx tabs
Why is there a listener-element in the TLD?
struts tag & html
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014