tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@thought.co.uk>
Subject RE: Package Q
Date Thu, 19 Apr 2001 20:51:15 GMT
perhaps I'm missing something but it looks like:

 out.println(ServletUtilities.headWithTitle("HelloWWWW") <snip>

should be  out.println( new ServletUtilities.headWithTitle("HelloWWWW")
....etc...

or better still..
 ServletUtilities mySU = new ServletUtilities();
out.println(mySU.headWithTitle("HelloWWWW") ...etc...

Classes need to be instatiated to create objects, who's methods can then be
invoked.


Mime
View raw message