For columns that return null values why don't you check if the
rset.getString() returns null?
If you installed tomcat with the exe rather then there is a option for
you to install tomcat as a service. I think the program that tomcat uses
to do this is freely available but escapes me at the
Zafar,
You need to test for the null after you have retrived the parameter from the
query, via jdbc ResultSet.wasNull()
Code might look like
CallableStatement cs;
// setup the callable statement stuff prior to here
ResultSet rs = cs.executeQuery();
while (rs.next()) {
String param =
Hi Zafar
I wrote this very simple method
public final static String getString(String pOriginal) {if (pOriginal ==
null) return new String();return pOriginal;}
and i use it to retrieve strings that can be null, getting in this case a
new string.
bye bye
Giorgio
- Original Message -
Dude, you must take a look at Sun´s tutorial about servlet, i´m
think that it´s your first step to understand the Servlet/JSP universe:
--
De: zafar ahsan[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: quarta-feira, 26 de fevereiro de 2003 2:10
Para: