I encountered problems when sending certain characters from Windows VB to IBM Mainframe Cobol/DB2 such as
‘(left single quote) or ’(right single quote). All the characters after the extended ascii got cut off. I don't have problems when sending '(single quote).
Is there any vb functions to...
i searched online and one person said to set SQLNET.AUTHENTICATION_SERVICES= (NONE). after this, i did not get the error above. don't know if this is the right way to do it but i'm glad that i can continue my self-study on oracle.
Hi,
When I installed Oracle 10g in my workstation, I got errors in the Database Configuration Assistant.
1st Error: ORA-12639: Credential retrieval failed.
2nd Error: ORA-03114: not connected to ORACLE
I searched using google and found the details below but still dont know how to fix it...
actually I want to mimic the WebDriver class from a B2B web application. the function of the WebDriver is to call the action class corresponding to the querystring "ACT" given. Using this querystring value, a class name can be retrieved from the database. All I need is to call the execute...
Hi,
How do I call a method of another class based on the class name returned from database?
for example
- public class ActParent {}
- public class ActChild1 extends ActParent {
public void execute(Bean bean){
}
}
- public class ActChild2 extends ActParent {
public void...
Aside from COMPUTERNAME,I can use USERDOMAIN and LOGONSERVER.
Do you think that it is better to use LOGONSERVER or it is also easy to change due to the nature of environment variables?
I searched about changing LOGONSERVER and I did only see a few post.
Thanks!
thanks earthandfire!
both are windows 2000 servers and environment variable is still COMPUTERNAME. I already tried it and it worked.
Thank you so much!!!:D The function you provided is very helpful.
yes, an app is running on each server. there are two app servers which are managed by load balancing. for ex, if server 1 issued an error to the user then the vb app will pass a value such as "AppServer1" and the error number to the database.
my other option is to have a server name constant...
Thanks sedj. I can compile the code.
I set the class path to:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\bluereef\WEB-INF\classes>
where coreservlets directory is under classes directory.
and compiled using your command javac coresrvlets/ShowBalance.java
when I type
"...\javac ShowBalance.java"
the error below shows up...
----------------------------------------------
ShowBalance.java:11: cannot resolve symbol
symbol : class BankCustomer
location: class coreservlets.ShowBalance
BankCustomer customer =...
Hi,
When I compile the .java file from the book, I get a "cannot resolve symbol". It point to the bean file.
BankCustomer.java
------------------------------
package coreservlets;
import java.util.*;
public class BankCustomer {
private String id, firstName, lastName;
private double...
I thought I replied back. Maybe I forgot to click the submit button.
Anyways, I am not familiar with JSTL but I have seen a sample code for it. I will use venur's sample code when I reach that chapter.
I encountered this problem when I am using JRun 4 and SDK 1.4.2. Maybe I set it up...
Hi,
I am learning JSP. I cannot make the Expression Language to work. For example: ${1+1} should equal 2. It turns out it only prints "${1+1}".
I followed the book and I installed SDK 1.4.2 and modified web.xml (see below). Is there anything else I should do?
<web-app...
hi,
i'm new to visual c++. i have problems converting from data type BSTR to data type char. problem occurs when compiling to a release version, not to a debug version.
here's the code
STDMETHODIMP CPassword::Validate(BSTR bstrLogID, BSTR bstrPassword, BSTR *pbstrMessage)
{
char *pCommand =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.