Home » Category » BEA/Weblogic

BEA/Weblogic: WLS 6.1 f-ed up my linefeeds

302| Sun, 13 Jul 2008 22:39:00 GMT| lassekoskela| Comments (1)
Hi ranchers,

I just bumbed into a weird feature of WLS 6.1's JSP compiler... I have a JSP file with mixed HTML and Java scriptlets. The problem is that for some reason, upon deployment WebLogic generates several statements in the .jsp into a single line in the .java file -- a //-style comment in front of a number of statements is not what I'd expect

In other words,

code:

...
// this is the comment
while (true) {
System.out.println("It works!");
}
...


becomes
code:

// this is the comment while (true) { System.out.println("it works!"); }

I've tried to tweak the linefeed/newline characters with TextPad in addition to Eclipse but with no success.

Keywords & Tags: wls, 6.1, f-ed, linefeeds, bea, weblogic

URL: http://software.itags.org/bea-weblogic/284312/
 
«« Prev - Next »» 1 helpful answers below.
Moving to top... Anyone?

lassekoskela | Sun, 13 Jul 2008 22:41:00 GMT |

BEA/Weblogic Hot Answers

BEA/Weblogic New questions

BEA/Weblogic Related Categories