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 1
/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
> /tom
After moved the context.xml file to
/tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost/
with the content changed to:
WEB-INF/web.xml
(I have the exact db, table and username/password created like this).
And I have removed the context.xml file in webapps/DBTest/WEB-I
302)
> >>
> >>>>
> >>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>
302)
> >>
> >>>>
> >>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>&g
ult.html
> >>>>> default.htm
> >>>>> default.jsp
> >>>>>
> >>>>>
> >>>>>
> >>>>> DB Connection
> >
t; >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>>> type="javax.sql.DataSource"
> >>>>maxActive=&q
javax.sql.DataSource
> >> Container
> >>
> >>
> >> then put in this test code changing :
> >> DBNAME to the name of your Database
> >> TABLE to the name of the table in DBNAME you want to query
> >> COLUMN for the speci
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 org.apache.jaspe
al Message -
> >> From: sam wun
> >> Sent: 28/08/08 04:44 pm
> >> To: Tomcat Users List
> >> Subject: Re: Re: Can't execute servlet project
> >>
> >> HI there,
> >>
> >>
> >>
> >> According
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:
where username/password is the root/admin user/password of the mysql
database?
thanks
> - Original Message -
> From
t Users List
> 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/DBTes
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 encount
> 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 in
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 ful
I got a similar web.xml, but the is different.
Here is the entire content of my web.xml.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
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'
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:
18 matches
Mail list logo