[htmltmpl-java] Problems with WebSphere & Parser class
Status: Beta
Brought to you by:
bluesmoon
From: Raul L. <rl...@ab...> - 2004-04-19 07:38:09
|
Hello. I=B4m a developer=B4s Java.=20 I found a problem with WebSphere application server. The WebSphere Studio Application Developer is 5.0. I use JSDK 1.4.2, Oracle 8. In Parser class, line 124: stringbuffer.append(stringbuffer1); The error line of Server console is the next: '[19/04/04 9:21:51:812 CEST] 6b0be68d WebGroup=20 E SRVE0026E: [Error de servlet]-[java.lang.StringBuffer:=20 method=20 append(Ljava/lang/StringBuffer;)Ljava/lan g/StringBuffer; not found]:=20 java.lang.NoSuchMethodError: java.lang.StringBuffer:=20 method append(Ljava/lang/StringBuffer;) Ljava/lang/StringBuffer; not found' Solution is the next: Original code Parser.java : if(s1.indexOf("tmpl_") < 0) { stringbuffer.append(stringbuffer1); continue; } New code Parser.java : if(s1.indexOf("tmpl_") < 0) { String aux=3D stringbuffer1.toString(); String aux2=3D stringbuffer.toString(); aux2+=3Daux; stringbuffer=3Dnew StringBuffer(aux2); continue; } Please, somebody can upload this correction in the next=20 release? Sorry for my English :( |