Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
not necessarily endorse content contained within this transmission. Date: Thu, 28 Aug 2008 11:02:52 +0200 From: [EMAIL PROTECTED] Subject: Re: Re: Can't execute servlet project To: users@tomcat.apache.org; users@tomcat.apache.org Hi, I couldn't find

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Thu, 28 Aug 2008 11:02:52 +0200 From: [EMAIL PROTECTED] Subject: Re: Re: Can't execute

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
this transmission. Date: Thu, 28 Aug 2008 11:02:52 +0200 From: [EMAIL PROTECTED] Subject: Re: Re: Can't execute servlet project To: users@tomcat.apache.org; users@tomcat.apache.org Hi, I couldn't find an installation

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
: Thu, 28 Aug 2008 11:02:52 +0200 From: [EMAIL PROTECTED] Subject: Re: Re: Can't execute servlet project To: users@tomcat.apache.org; users@tomcat.apache.org Hi, I couldn't find an installation document about installing the driver

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
within this transmission. Date: Thu, 28 Aug 2008 11:02:52 +0200 From: [EMAIL PROTECTED] Subject: Re: Re: Can't execute servlet project To: users

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
After moved the context.xml file to /tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost/ with the content changed to: Context     !-- Default set of monitored resources --     WatchedResourceWEB-INF/web.xml/WatchedResource     !-- Uncomment this to disable session persistence across Tomcat

Re: Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
/conf # do I need to remove DBTest.xml and web.xml here? Thanks Sam - Original Message - From: sam wun Sent: 03/09/08 11:13 am To: Tomcat Users List Subject: Re: Re: Can't execute servlet project After moved the context.xml file to /tomcat/apache-tomcat-5.5.26/conf/Catalina

Re: Re: Can't execute servlet project - it works now

2008-09-02 Thread sam wun
After this final changed (renamed the context.xml file to DBTest.xml), it works fine now. Thank you very much for the help along the way. Without your patient and effort, I wouldn't be able to get this going. Thanks Sam - Original Message - From: David Smith Sent: 03/09/08

Re: Re: Can't execute servlet project

2008-09-01 Thread sam wun
Hi there, I have followed the tutorial about how to setup db connection (with mysql). But still giving me the followoing errors: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception

Re: Re: Can't execute servlet project

2008-08-28 Thread sam wun
HI there, According to the tomcat online document, do I have to modify the context.xml file? $CATALINA_HOME/conf/context.xml with the following new setup: Resource name=jdbc/TestDB auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1

Re: Re: Can't execute servlet project

2008-08-28 Thread sam wun
that, where can I download it? The MySQL site - you could probably have guessed that. http://dev.mysql.com/usingmysql/java/ Thanks - Original Message - From: sam wun Sent: 28/08/08 04:44 pm To: Tomcat Users List Subject: Re: Re: Can't execute servlet project HI

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
Hi, thanks for trying to help. I dont' have a clue on this *bean*. The entire tutorial doesn't mention about how to setup a bean... The tutorial I;ve followed is shown as below: http://java.sys-con.com/node/152270 Thanks Sam - Original Message - From: David Smith Sent:

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
HI there, It sounds logical, but there is no LIstCustomers in the DBTest folder. Thanks Sam - Original Message - From: David Smith Sent: 27/08/08 09:59 pm To: Tomcat Users List Subject: Re: Can't execute servlet project I see the jsp is a view and as such wasn't

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
I got a similar web.xml, but the is different. Here is the entire content of my web.xml. ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
OK, I followed your instruction to invoke the servlet class file, but I got errors. the url is http://10.1.9.1:8080/DBTest/CreateCustomerServlet Errors are: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from

RE: Re: Can't execute servlet project

2008-08-27 Thread Peter Crowther
From: sam wun [mailto:[EMAIL PROTECTED] OK, I followed your instruction to invoke the servlet class file, but I got errors. [...] root cause java.lang.UnsupportedClassVersionError: Bad version number in .class file You're compiling your class with a newer Java version than your Tomcat

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
HI there, I managed to fix the jdk version error, now it comes with a different error. The url I am trying to put on the firefox browser is http://10.1.9.1:8080/DBTest/CreateCustomerServlet The error is: TTP Status 500 - type Exception report message description The server

Re: Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
Subject: Re: Re: Can't execute servlet project HI there, I managed to fix the jdk version error, now it comes with a different error. The url I am trying to put on the firefox browser is http://10.1.9.1:8080/DBTest/CreateCustomerServlet The error is: TTP Status 500