RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
rying to catch SendFailedException to validate the address. But it did not generate the exception. What else can I do? Thanks, Jack Li -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 10:03 AM To: 'Tomcat Users List' Subj

How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
Hi, How to validate email address in JSP by using javax.mail? Thanks, Jack Li

SendFailedException or MessagingException does not work

2002-10-07 Thread Jack Li
addresse I give. I am using javax.mal package. Please help, thanks. Jack Li

RE: How to execute a command line program in jsp or servlet?

2002-09-11 Thread Jack Li
ock should compile and work. hope it helps -reynir > -Original Message- > From: Jack Li [mailto:[EMAIL PROTECTED]] > Sent: 10. september 2002 19:50 > To: '[EMAIL PROTECTED]' > Subject: How to execute a command line program in jsp or servlet? > > > Hi,

How to execute a command line program in jsp or servlet?

2002-09-10 Thread Jack Li
try{ Runtime rt = Runtime.getRuntime(); rt.exec("c:\\test.bat"); }catch(IOException e){ out.println(e.getMessage()); } Any help? Thanks, Jack Li

RE: getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Jack Li
I applied your method to get the names. It works for some IPs. It didn't the name of other IPs. For example, 12.5.203.134 was not converted to a name. Any ideas? Thanks, Jack -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:31 AM To: Tomc

RE: email to cell phone

2002-07-18 Thread Jack Li
Thank you Rick, all I need is to send email to cell phones. Many people have replied very helpfully. The simple way is just sending emails like regular emails ([EMAIL PROTECTED]). Thank you and all the people who helped me. Jack Li -Original Message- From: Rick Fincher [mailto:[EMAIL

RE: email to cell phone

2002-07-17 Thread Jack Li
l using, let's say, Javamail package, and recipent address is something like: [EMAIL PROTECTED] Bing -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 1:42 PM To: 'Tomcat Users List' Subject: RE: email to cell phone would you tell me

RE: email to cell phone

2002-07-17 Thread Jack Li
hird party services. Jack -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 2:34 PM To: Tomcat Users List Subject: Re: email to cell phone From: "Jack Li" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 8:30 AM Subject: email t

RE: email to cell phone

2002-07-17 Thread Jack Li
--Original Message----- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 11:31 AM To: '[EMAIL PROTECTED]' Subject: email to cell phone Hi, How to send the emails to cell phones from Tomcat? Thanks, Jack Li -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]&g

email to cell phone

2002-07-17 Thread Jack Li
Hi, How to send the emails to cell phones from Tomcat? Thanks, Jack Li

RE: How to detect whether Tomcat is running?

2002-07-08 Thread Jack Li
Thanks, The method of check a stream in a jsp page works great. Thank you very much. Jack Li -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:17 PM To: Tomcat Users List Subject: Re: How to detect whether Tomcat is running? Of course, the

How to detect whether Tomcat is running?

2002-07-08 Thread Jack Li
Length(); Thanks, Jack Li

RE: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Jack Li
How and where to set "-server"? Thanks, Jack Li -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 5:18 PM To: Tomcat Users List Subject: Re: -Xmx/-Xms Parameters, Where do they go??? I've added a line in my tomcat.s

Multiple Tomcats on one server

2002-06-14 Thread Jack Li
How to run setup multiple instances of Tomcat 4 on Windows 2000 since tomcat runs as a service? Thanks, Jack Li -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 8:58 AM To: 'Tomcat Users List' Subject: RE: Multiple Tomcats on one ser

Find Tomcat training classes

2002-06-07 Thread Jack Li
Hello, Does anyone know where to have tomcat training classes? Thanks, Jack

RE: How to prevent users from listing the content of directory in Tom cat 4?

2002-06-07 Thread Jack Li
Thanks, it works after I changed "listings" to false in web.xml. But it gives you a tomcat 404 error message when you try to browse the directory. How can I customerize this message? Thanks Jack Li -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Fr

How to prevent users from listing the content of directory in Tomcat 4?

2002-06-07 Thread Jack Li
Hello all, How to prevent users from listing the content of directory in Tomcat 4? Thanks, Jack Li

RE: Out of Memory Error - plz help

2002-06-04 Thread Jack Li
in setclasspath.bat file set JAVA_OPTS="-ms10M -mx512M" Jack Li -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 4:34 AM To: Tomcat Users List Subject: Re: Out of Memory Error - plz help I'm not sure this answers you

RE: can't get context to see "global" classes/jars

2002-05-31 Thread Jack Li
put classes12.jar in $CATALINA_HOME/common/lib and finep in $CATALINA_HOME/common/classes. Jack Li -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: can't get context to see "global&quo

Cant't print in Tomcat 4

2002-05-29 Thread Jack Li
o Tomcat 4. The program just was hanging there. Any solutions! Thanks Jack Li

Can't print in Tomcat 4

2002-05-23 Thread Jack Li
e printing work with Tomcat 4? Many thanks Jack Li

J2EE and J2SE are different to Tomcat?

2002-05-16 Thread Jack Li
Hello All, What is the difference between J2EE and J2SE in terms of developping web apps in tomcat? If I use J2EE in development phase, do I have to install J2EE in production server, too? The documents from Tomcat tell us to setup JAVA_HOME="c:\jdk1.3". Why? Many thanks, Jack

RE: Session Problem - URGENT!!!!

2002-05-10 Thread Jack Li
-1 -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:01 AM To: 'Tomcat Users List' Subject: RE: Session Problem - URGENT +1 Saludos , Ignacio J. Ortega > -Mensaje original- > De: Paul Caton [mailto:[EMAIL PROTECTED]] > Env

RE: Memory Leak of JDBC Drive

2002-05-06 Thread Jack Li
e from NetDirect for SQL server connection. I > loose a lot of memory on the system. The memory does get recovered unless I > restart SQL Server. I am using Tomcat 3.12 and SQL Server 2000 on windows > 2000. Any ideas? > > Thanks, > Jack Li > -- To unsubscribe, e-mail: <

RE: Memory Leak of JDBC Drive

2002-05-06 Thread Jack Li
vered unless I > restart SQL Server. I am using Tomcat 3.12 and SQL Server 2000 on windows > 2000. Any ideas? > > Thanks, > Jack Li > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscri

Memory Leak of JDBC Drive

2002-05-06 Thread Jack Li
Hi all, I am using JSQLConnect Drive from NetDirect for SQL server connection. I loose a lot of memory on the system. The memory does get recovered unless I restart SQL Server. I am using Tomcat 3.12 and SQL Server 2000 on windows 2000. Any ideas? Thanks, Jack Li

RE: context variable in web.xml does not work in tomcat 4

2002-04-29 Thread Jack Li
Thanks, That is how I resolved my problem. Jack -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:40 PM To: Tomcat Users List Subject: Re: context variable in web.xml does not work in tomcat 4 HI I also had this problem. I moved the vari

context variable in web.xml does not work in tomcat 4

2002-04-29 Thread Jack Li
Hello all, I have setup a context variable in web.xml below. It worked in tomcat 3. After I upgraded to Tomcat 4, it doesn't work anymore and generated an xml parse error message in log file. Any idea? myServerName ABC Thanks, Jack Li

RE: How select a printer to print

2002-04-24 Thread Jack Li
the printers (I think...I've never done that though). But as I said, web users will only see printers local to them. RS Jack Li <[EMAIL PROTECTED]> on 04/23/2002 01:30:34 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"'[EMAIL PROTECTE

Map network drive automatically

2002-04-23 Thread Jack Li
Hello All, Does anybody know how to map a network drive by writing a java program or other program languages? My OS is w2k and web server is IIS and Tomcat 4. Thanks, Jack Li

How select a printer to print

2002-04-23 Thread Jack Li
Hello, My users need to select a printer from a list of printers installed on web server. How to get the list of printers and select a printer to print the report? I have JDK1.3 and Tomcat 4 Thanks, Jack Li

RE: IIS 5.0 + TC 4.0.3

2002-04-15 Thread Jack Li
Did you follow the instruction at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/? I setup the server successfully two weeks ago based on that instruction. If you have problem, call me at 734.957.8080 ext 340 by speaking Chinese. Jack Li -Original Message- From: Tomcat Huang

RE: Oracle Drive and Tomcat 4

2002-04-05 Thread Jack Li
ubject: RE: Oracle Drive and Tomcat 4 TC4 needs jar files to have the .jar extension. This was not true of TC3. In my case I always unzip the file, and build it back using the jar command. I don't just change the file extension from .zip to .jar -Original Message----- From: Jack Li

Oracle Drive and Tomcat 4

2002-04-05 Thread Jack Li
ok. Any ideas? Thanks, Jack Li

RE: How to access a remote file?

2002-02-20 Thread Jack Li
g to access. -----Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 4:45 PM To: '[EMAIL PROTECTED]' Subject: How to access a remote file? Hello, How to access a remote file? I have a network drive F: for a D: driver on another machine "m

How to access a remote file?

2002-02-20 Thread Jack Li
Hello, How to access a remote file? I have a network drive F: for a D: driver on another machine "mass". When I try to read a file on in driver F, it denies. Thanks, Jack Li -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]

Remote Stop and Start Tomcat

2002-02-07 Thread Jack Li
Hi, How to remote stop and start tomcat as ISP does? Come ISP have contorl panels that allow user to stop and start the tomcat. Thanks, Jack Li -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

RE: Very basic problem

2002-01-02 Thread Jack Li
ject: RE: Very basic problem the PATH should point to d:\jdk1.3\bin and CLASSPATH to d:\jdk1.3\jre\lib\rt.jar > -Message d'origine- > De: Jack Li [SMTP:[EMAIL PROTECTED]] > Date: mercredi 2 janvier 2002 16:26 > À:'[EMAIL PROTECTED]' > Objet:Very b

Very basic problem

2002-01-02 Thread Jack Li
Hello All, I have a very basic problem. I try to an java application under DOS (Windows operating system is windows 2000 server). I got error: java.lang.NoClassDefFoundError: test. The application is a sample from text book, very simple: class test { public static void main(String args[]) {

RE: JDBC Driver for MS SQL Server

2001-12-26 Thread Jack Li
jSQLConnect is good. Check www.j-netdirect.com Jack Lee -Original Message- From: ³¯¬Ó¤å [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 25, 2001 12:40 AM To: Tomcat Users List Subject: RE: JDBC Driver for MS SQL Server There is a JDBC driver for MS-SQL in IBM WebSphere. Maybe you

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Jack Li
"SELECT * from table_name" you need "SELECT * FROM dbo.table_name" post this to SQL people though -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 3:48 PM To: 'Tomcat Users List' Subject: RE: JDBC Driver for

How to Increasing Tomcat memory?

2001-12-18 Thread Jack Li
Hi, I need to allocate more memory to Tomcat 3.2.1. How can I do it? I know to put -Xms somewhere. What is the exact lines to put and where to put the line? Thanks, Jack -- To unsubscribe: For additional commands: Troubles with the list: <

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Jack Li
versions of SQL Server (6.5 I know, others maybe) don't enable TCP/IP access by default. Contact your DBA for more assistance. Randy > -Original Message- > From: Jack Li [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2001 11:24 AM > To: 'Tomcat Use

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Jack Li
sNotFoundException e){ out.println("class not found: " + e.getMessage()); }catch(SQLException e){ out.println(e.getMessage()); }catch(Exception e){ out.println(e.getMessage()); } Thanks, Jack -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sen

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Jack Li
18, 2001 10:31 AM To: 'Tomcat Users List' Subject: RE: JDBC Driver for MS SQL Server TOMCAT_HOME/lib -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 11:30 AM To: '[EMAIL PROTECTED]' Subject: JDBC Driver for MS SQL Server Hi

JDBC Driver for MS SQL Server

2001-12-18 Thread Jack Li
Hi, I am using Tomcat 3.2.1. I downloaded the JDBC Driver for MS and Installed it. But I got error: "Unable to load class com.microsoft.jdbc.sqlserver.SQLServerDriver". Where to put the three jar files? Also, are there other drivers available and good? I am using jdbc-odbc to connect SQL Server n

RE: Tomcat and beans

2001-06-28 Thread Jack Li
Could please tell me how to remove the a bean in application scope? Thanks, Jack -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 7:24 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat and beans If you create a bean with an application

Disable a used java bean

2001-06-27 Thread Jack Li
Hello, I have a java bean used in jsp and the bean has application scope. I need to disable it without rebooting Tomcat. Thanks, Jack Li

RE: Bean in application scope

2001-06-26 Thread Jack Li
hod (or something like that). Randy > -Original Message- > From: Jack Li [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 9:28 AM > To: '[EMAIL PROTECTED]' > Subject: Bean in application scope > > > Hello, > > I have a java bean

open MS document in IE 4.01

2001-06-26 Thread Jack Li
Does anyone know if IE 4.01 can open Microsoft word document or Excel spread sheet? Thanks Jack Li

Bean in application scope

2001-06-26 Thread Jack Li
Hello, I have a java bean in application scope. The bean creates a database connection pool. However, sometime the database gets reboot. Then, the jsp pages have the bean included get crashed. How do I detect the exception and reinitialize the bean? Thanks Jack

How to redirect the page to another server?

2001-06-06 Thread Jack Li
and the users don't know the main server is down. Thanks, Jack Li

RE: FATAL: java.netBindException: Address in use: JVM_Bind

2001-05-30 Thread Jack Li
----- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: 29. mai 2001 22:01 To: '[EMAIL PROTECTED]' Subject: FATAL: java.netBindException: Address in use: JVM_Bind Hello, I have a problem to setup Tomcat on Windows 2000 server. When I run startup.bat, I got the error: FATAL: java.netBindE

FATAL: java.netBindException: Address in use: JVM_Bind

2001-05-29 Thread Jack Li
Hello, I have a problem to setup Tomcat on Windows 2000 server. When I run startup.bat, I got the error: FATAL: java.netBindException: Address in use: JVM_Bind. Any idea to solve this problem? Thanks, Jack Li

RE: javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
xalan.jar files from sun and put them in c:\jdk1.3\jre\lib. : and in classpath. In my testing program, I import javax.xml.parsers.*. When : I compiled the program, I got error message "Package javax.xml.parsers not : found in import." Any idea for what am i wrong? : : Thanks, : Jack Li :

RE: javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
ot : found in import." Any idea for what am i wrong? : : Thanks, : Jack Li : : -- Brendan McKenna            Email: [EMAIL PROTECTED] Development Strategist         Phone: +353-61-338177 Taringold Ltd.             Fax:   +353-61-338065

javax.xml.parsers.* not found

2001-05-18 Thread Jack Li
rsers not found in import." Any idea for what am i wrong? Thanks, Jack Li

encodeRedirectURL(url)) doesn't work

2001-05-11 Thread Jack Li
Hello, I am using "response.sendRedirect(response.encodeRedirectURL(url))" in JSP. It doesn't work. Any idea? Thanks, Jack Li

RE: to obtain browser name and version

2001-05-10 Thread Jack Li
Mike Spisak, Thank you very much. Jack Li -Original Message- From: Mike Spisak [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 12:08 PM To: [EMAIL PROTECTED] Subject: Re: to obtain browser name and version Jack- Here is a sample of how I have done it: <% String brow

to obtain browser name and version

2001-05-10 Thread Jack Li
Hello, Is there a way to obtain the browser name and version in JSP? Thanks, Jack Li

how to use war file in JSP

2001-05-09 Thread Jack Li
Hello, I have downloaded the upload.war file for uploading the files. How to use the war file in Tomcat? Where should I put it and how to call it in JSP. Thanks, Jack

Find JSP hosting

2001-05-08 Thread Jack Li
Hello, How to find good ISPs with jsp web hosting? Thanks, Jack

RE: How to obtain user's IP address

2001-05-03 Thread Jack Li
address translation (like NAT) going on. You could also plow through the request headers you're getting: some user agents may tell you something useful. -- Bill K. > -----Original Message- > From: Jack Li [mailto:[EMAIL P

How to obtain user's IP address

2001-05-03 Thread Jack Li
Hello, I need to know who visits my web page. In jsp, I got "null" when I used "request.getRemoteUser()". Then any other mehods can obtain user's name or IP address? Thanks Jack Li

How to define a worker for IIS

2001-04-18 Thread Jack Li
Hello, In "Tomcat IIS HowTo", pre-condition is: A worker is defined to be a tomcat process that accepts work from the IIS server. What is the worker and where and how to difine it for IIS derver? Thanks a lot, Jack Li

Download IIS

2001-04-10 Thread Jack Li
Hello, Does anyone know where to download IIS 5 for Windows 2000 Pro? Thanks, Jack Li

run servlet and get "page not found"

2001-04-09 Thread Jack Li
Hello, I tried to run a simple servlet and get error message "page not found". I put the servlet in WEB-INF/classes/ directory. The system is IIS 5 with tomcat 3.2.1, any idea? Thanks Jack Li

How to know what the dependent classes of a java program?

2001-04-05 Thread Jack Li
Hello, How to find out the dependencies of a java program and how make a jar file to include those dependent classes? Thanks, Jack Li

Need job scheduling component

2001-04-05 Thread Jack Li
Hello, We need a component for scheduling jobs because some jobs take a long time. The jobs have assigned priorities. We run tomcat 3.2.1 with IIS 5.0 on windows 2000. Will you point me where to find such components? Thanks, Jack Li

ISS 5.0 doersn't pass form data

2001-03-23 Thread Jack Li
Hello, Now I found out that my IIS 5.0 doesn't pass session variable. I wrote two small asp pages to pass form data and it didn't work. I went into IIS manager to check web site properties. Session time out is 30 second. Now what is the problem? Thanks, Jack Li

Session doesn't work with IIS/Tomcat

2001-03-23 Thread Jack Li
Hello, I still have the problem to make IIS 5.0/Tomcat 3.2.1 passing session variables. Even I can't pass the form input to next page. I guess something wrong with my settings, but I don't know where it is. I tried following: 1. I tried to use two simple jsp pages to pass session variables. it di

RE: oracle JDBC doesn't work

2001-03-23 Thread Jack Li
George McKinney, Thank you. Your reply realy helped me. Now the jdbc works fine. Thanks again, Jack Li -Original Message- From: George McKInney [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: RE: oracle JDBC doesn't work I think

oracle JDBC doesn't work

2001-03-23 Thread Jack Li
;jdbc:oracle:thin:storedb", "username", "password"); } catch(SQLException e){ out.println(e.getMessage()); } The username and password are good. I can make connection using jdbc-odbc bridge. What's the problem do I have with oracle

RE: How to get Tomcat's session working with IIS

2001-03-22 Thread Jack Li
t would be strange? If the above doesn't help, try posting the JSPs for the two pages. Randy > -Original Message- > From: Jack Li [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 22, 2001 1:54 PM > To: [EMAIL PROTECTED] > Subject: How to get Tomcat's ses

How to get Tomcat's session working with IIS

2001-03-22 Thread Jack Li
The seesion doesn't work with IIS 5.0 on windows 2000. session works on the same jsp page but can't pass to next page. the session scope of bean doesn't work either. Thanks, Jack Li

RE: Does JDK1.3 works with Tomcat?

2001-03-22 Thread Jack Li
You are correct. The problem I had was I didn't compile class into a package. Now it works. Thanks, Jack Li -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 12:34 PM To: '[EMAIL PROTECTED]' Subject: AW: Does JDK1.3 wo

RE: Does JDK1.3 works with Tomcat?

2001-03-22 Thread Jack Li
ectly. Jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 11:32 AM To: [EMAIL PROTECTED] Subject: RE: Does JDK1.3 works with Tomcat? Did u put dot "." in your CLASSPATH ? -Original Message- From: Jack Li [mailto:[EMAIL PR

RE: Does JDK1.3 works with Tomcat?

2001-03-22 Thread Jack Li
By the way, I am using windows 2000. Jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Holger Eichelberger Sent: Thursday, March 22, 2001 11:02 AM To: [EMAIL PROTECTED] Subject: Re: Does JDK1.3 works with Tomcat? Jack Li wrote: > > Hello,

RE: Does JDK1.3 works with Tomcat?

2001-03-22 Thread Jack Li
type declaration. Please help Thanks, Jack Li -Original Message- From: Ying Ho [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 11:03 AM To: [EMAIL PROTECTED] Subject: Re: Does JDK1.3 works with Tomcat? JDK 1.3 does work with tomcat. Your bean must be using some specific jd

Does JDK1.3 works with Tomcat?

2001-03-22 Thread Jack Li
Hello, Does JDK1.3 works with tomcat. My beans do not work with JDK1.3. Error message says can't find the class. But all these beans works fine with JDK1.1.8. Any ideas? Thanks, Jack Li

how to use bean in jdk1.3

2001-03-22 Thread Jack Li
I have a java bean which runs fine in Tomcat with JDK 1.1.8. When I switch to JDK 1.3 then it doesn't work anymore. I simply put the bean class file in web-inf/classes directory. Do I need to register it somewhere? Thanks, Jack Li

RE: Tomcat with IIS

2001-03-21 Thread Jack Li
ect.dll file. I actually did the same thing for the .class files. Like I said, I read that you are supposed to do this but if anyone wants to correct me, GO FOR IT!! :) good luck Jack Li -Original Message- From: Brian R. Hoogeveen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001

how to pass session variables with Tomcat and IIS

2001-03-21 Thread Jack Li
tor"); out.println(nv); %> The output of page2.jsp is: Has session null What is the problem? Thanks, Jack Li

RE: How to get rs.last() supported by Tomcat

2001-03-20 Thread Jack Li
I still don't know what causes the problem. I had the same codes in a stand alone java program and compiled the program at DOS prompt successfully. Then why tomcat gave me the error? Jack -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 12:

JDBC driver MS SQL Server 7.0

2001-03-20 Thread Jack Li
Hi, where can I find jdbc driver for MS SQL server? Thanks, Jack Li

How to get rs.last() supported by Tomcat

2001-03-20 Thread Jack Li
My problem is to make some JDBC 2.0 API calls such as rs.last(). I have Tomcat 3.2.1 and JDK 1.3 installed. Source codes are below. Please help. Jack Li - <%@ page import="java.sql.*"%> <% Connection con

Can't get Tomcat to support JDBC 2.x API

2001-03-19 Thread Jack Li
rs.close(); con.close(); } catch(SQLException e){ System.err.println(e.getMessage()); } catch(Exception e){ System.err.println(e.getMessage()); } %> --------- Thanks for any help Jack Li

RE: How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
ke sure the package structure remains intact under web-inf\classes You might have to restart tomcat for the effect to take place. --- Jack Li <[EMAIL PROTECTED]> wrote: > Scott, > > I created the statment by using: > > "createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,

RE: How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
syntax of the overloaded createStatement() method. scott. --- Jack Li <[EMAIL PROTECTED]> wrote: > Hello, > I need help on JDBC 2.0. > I have Apache, Tomcat 3.2.1 and jdk1.3. But I can't > call JDBC 2.x methods > such as rs.l

How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
Hello, I need help on JDBC 2.0. I have Apache, Tomcat 3.2.1 and jdk1.3. But I can't call JDBC 2.x methods such as rs.last(). Any ideas? Thanks, Jack

How to make JDBC 2.0 API available ?

2001-03-16 Thread Jack Li
Hi, When I try to use the method "ResultSet.TYPE_SCROLL_INSENSITIVE" to create a query statement, I got error message: No variable TYPE_SCROLL_INSENSITIVE defined in interface java.sql.ResultSet. But JDBC 2.0 API supports "ResultSet.TYPE_SCROLL_INSENSITIVE" call. I have JDK 1.3 installed. JDK 1.3

RE: JDBC driver for oracle

2001-03-16 Thread Jack Li
need to register, but it's free. "Jack Li" <[EMAIL PROTECTED]> on 16/03/2001 14:10:52 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Gavin Panella/VMC) Subject: JDBC driver for oracle Hi, Where can I have a free JDBC driver

JDBC driver for oracle

2001-03-16 Thread Jack Li
Hi, Where can I have a free JDBC driver for oracle? Thanks, Jack

RE: Custom Tags

2001-03-13 Thread Jack Li
It works. Thank you very much! Jack Li -Original Message- From: Casey Lucas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 11:27 AM To: [EMAIL PROTECTED] Subject: RE: Custom Tags You need to include servlet.jar in your classpath. It sould be somewhere under the TOMCAT_HOME

Custom Tags

2001-03-13 Thread Jack Li
Hi all, I am trying to create a custom tag. I got the compile error as following: Package javax.servlet.jsp not found in import Package javax.servlet.jsp.tagext not found in import Where can I have the jsp packages? Thanks, Jack Li [EMAIL PROTECTED