tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Nuss" <>
Subject JSP spec: completely "stumped" by print(String) and print( Object)
Date Tue, 01 May 2001 20:34:43 GMT

I'm stumped.  I have a need to understand why when I compile
against JspWriter.print(String), I'm getting a compliant
about "ambiguous reference to print".

This is traceable to the fact that the JspWriter.print()
methods include one for String and one for Object, which
is indeed ambiguous for Strings!

(This is for the Sun compiler on windows.)


So how then does a JSP page compile, since surely it has many
instances of:

     out.print("blah blah").


View raw message