tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <>
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")

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

View raw message