tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton" <d...@solaraccess.com>
Subject RE: declaring a class in JSP
Date Thu, 14 Dec 2000 16:32:09 GMT
> > Yo dudes,
> > I have this JSP:
> > <% private class Something{} 
> > %>
> You forgot the Exclamation Mark (!) 
> The correct Syntax is:
> <%! private class Something{} 


I thought he forgot the semicolon~it's legal to do a declaration
without the ! (isn't it?! :)

Dave


Mime
View raw message