dcsimg
HELP!! what method functions as append() in J2SE1.5.5 bufferedWriter
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   wale_wilfred
Posted On:   Tuesday, August 7, 2007 02:06 PM

i've written a web application that runs with JDK1.5 update 5.when i deployed it to demo server, i got the error below


Generated servlet error:

D:Program FilesSybaseEAServerworkJaguarServletWebApp-helpCentralhelpCentral_0005frebuildSearch$jsp.java:210: Method append(java.lang.String) not found in class java.io.BufferedWriter.
out2.append(strLine);



jaguar has been configured to run with J2SE 1.4.1 and i cant change that

what method in 1.4.1 can replace append() in 1.5.5

Re: HELP!! what method functions as append() in J2SE1.5.5 bufferedWriter

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, August 7, 2007 08:30 PM

Just use 'write(...)' instead. The API docs clearly state that calls to append are equivalent to calls to write, plus or minus a little convenience.
About | Sitemap | Contact