Switch to full style
JSP Code Examples
Post a reply

JSP Declaration Tag

Fri Jan 16, 2009 6:51 pm

JSP Declaration tag example ,it so easy i created a string inside <%! %> tags .
And i used it down in the code .
Code:
<%!
  
String sitename "Codemiles Forums";
 
%>

<
HTML>
  <
TITLE>Declaration Tag Example</TITLE>

  <
BODY>
    
Welcome to <%= sitename %>.
  </
BODY>
</
HTML>
 


the output is
Code:
Welcome to Codemiles Forums




Post a reply
  Related Posts  to : JSP Declaration Tag
 Enum Declaration     -  
 Typedef Declaration     -  

Topic Tags

Servlets/JSP