how to store multiline string literal in to java bean shell variable
911800Mar 22 2012 — edited Mar 22 2012Hello Experts
How to store multiline string literals in java bean shell like we use triple quote for jython variable
Using Jython
str=""" helllo
welcome to my world"""
above syntax is working but not for java bean shell like below
String str=""" hello
welcome to my world""";
So how to do this in java bean shell. I came to this scenario while storing logs to a variable. I believe there is no solution for storing multiline strings to java bean shell variable.
<@
String str="<%=odiRef.getPrevStepLog("MESSAGE")%>";
@>
Any suggestion will be highly appreciated.
Thank You.