Hello,
What I'm trying to do is to get rid of the quotation marks in one of the columns in a
database table. For that Joel
gave me a function and even showed where to put a call to that function in my
application in ND.
But could anyone tell me how to combine my own Java functions with ND apps? In case
you need it, here's the code that I
need to write:
I appreciate your help,
Rimma
My own functions:
public String upquotes (String s) {
return "\""+s.toUpperCase().trim()+"\"";
}
public String getMy (String s) {
// I use this because I have other ways of storing sessions.
// Using a wrapper function isolates my other code from CSpider.
return CSpider.getUserSessionObject(s).toString();
}
public static final String kSesName = "sesName";
Then in my page.java, I would write:
CSpValue name = new
CSpString(MyUtilties.upquotes(getMy(kSesName)));
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]