Home » Category » BEA/Weblogic
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!");
}
...
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.