Hi there,
I know it is better for me to ask this quetion in a jsp forum, but I
couldn't find one for mailing list .
And you guys are very helpful too in terms of this experience.
If you are using a good jsp editor, can you tell me where its download
link?
My current development enviorn
l when
> in your webapp's META-INF folder.
>
> --David
>
> sam wun wrote:
> > After moved the context.xml file to
> > /tomcat/apache-tomcat-5.5.26/conf/Catalina/localhost/
> >
> > with the content changed to:
> >
> >
/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
ot; password="javadude"
> driverClassName="com.mysql.jdbc.Driver"
> url="jdbc:mysql://localhost:3306/javatest"
> validationQuery="select 1" />
>
>
> Obviously replace the username, password, and URL with what's
> appropriat
#x27;s common/lib (for
> tomcat v 5.5) or /lib (tomcat v 6).
>
> You can also take a look at tomcat's JDBC Datasource howto's on the
> tomcat website for your version of tomcat which offer a lot of help.
>
> --David
>
> sam wun wrote:
> > Thanks David,
> >
&
>
> You can also take a look at tomcat's JDBC Datasource howto's on the
> tomcat website for your version of tomcat which offer a lot of help.
>
> --David
>
> sam wun wrote:
> > Thanks David,
> >
> >
> >
> > After copied the jstl and stan
default.jsp
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
> - Original Message -
> From: sam wun
> Sent: 03/09/08 01:41
Servlet.java:803)
> - Original Message -
> From: David Smith
> Sent: 03/09/08 01:23 am
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> Download the binary zip file and expand it. Within it is a lib
> directory with just standard
; Subject: Re: Can't execute servlet project
>
> Hmmm... good question. I moved over to Maven and don't manually
> download these any more. This looks like it should do the trick:
>
> Try
> http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.c
>
> Do you have jstl.jar and standard.jar in your WEB-INF/lib directory?
>
> --David
>
> sam wun wrote:
> > Hi,
> >
> >
> >
> > I have added testdb.jsp in the following path in Suse linux (the tomcat
> > server):
> >
> > /tomcat
tabase connection pool. My only
> edit that article I would recommend is don't add ?autoReconnect=true to
> the end of the mysql database url. Instead, add validationQuery="select
> 1" to the element in your context.xml file so
> connections are tested and r
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 servlet project
> > To: use
Hi there,
What can I use to monitor tomcat container?
Thanks
Hi,
Just a quick question, I found that Tomcat is quite capable with servlet
application, but lack of EJB support.
Is GlassFish designed to fill the gaps to support EJB application only?
Thanks
of it?
Thanks
Sam
> - Original Message -
> From: Pid
> Sent: 28/08/08 06:47 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> sam wun wrote:
> > Do I need to put mysql driver in the common/lib/ directory in linux?
>
> Yes, t
naming-factory.jar
servlet-api.jar
.. jasper-compiler-jdt.jar jasper-runtime.jar
naming-factory-dbcp.jar naming-resources.jar
If I need to have that, where can I download it?
Thanks
> - Original Message -
> From: sam wun
> Sent: 28/08/08 04:44 pm
> To: Tomca
.xml file so
> connections are tested and regenerated as needed.
>
> --David
>
> sam wun wrote:
> > HI there,
> >
> >
> >
> > I managed to fix the jdk version error, now it comes with a different
> > error.
> >
> > The url I am trying t
BTW, where should I place the web.xml file in the tomcat server?
The web (root) execution path of my tomcat server is:
/tomcat/apache-tomcat-5.5.26/webapps/DBTest
Thanks
Sam
> - Original Message -
> From: sam wun
> Sent: 28/08/08 02:45 am
> To: Tomcat Users List, Tomca
with listening on port 8080 and it's installed on your local
> workstation). That's what the ...
> part of web.xml is all about -- mapping URLs to servlets.
>
>
> --David
>
> sam wun wrote:
> > I got a similar web.xml, but the is different.
> &g
...
> part of web.xml is all about -- mapping URLs to servlets.
>
>
> --David
>
> sam wun wrote:
> > I got a similar web.xml, but the is different.
> >
> > Here is the entire content of my web.xml.
> >
> >
> >
> >
> > &g
here doesn't need to be a physical file named ListCustomers
> in the top level of the DbTest webapp.
>
> Your tutorial was very much geared to showing you how Eclipse works,
> more or less assuming you had some familiarity with servlet and/or java
> programming. I would reco
jsp is a view and as such wasn't designed to be run on
> it's own. Try http://localhost/DBTest/ListCustomers in your browser.
> That should hit the servlet which in turn should generate the required
> bean and forward the user to your jsp.
>
> --David
>
>
> sam
this.
>
> 2. It would appear you need to do some more research on what you want to
> do. It looks like you are trying to expose an ArrayList stored in the
> request scope, but the jsp can't find it, hence the error. Where is
> this object supposed to come from if you didn
HI tere,
I have completed a servlet project in Eclipse (3.4).
I also made a war.file by seleting the project name (DBTest in this case)
and the export command from the Eclipse menu, and export it to the Tomcat
5.5.26 server in linux using manager.
However when I click on the project name (/DBTe
Hi,
In Eclipse 3.4 (not sure about the previous version), I have a project, in
the src, there is a interface file called "DatabaseCommand.java". This file
is an interface file.
It s content is shown below:
package command;
import java.sql.Connection;
import java.sql.SQLException;
public in
Hi,
I have a java class file CreateOrder.java with the following coding:
package command;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import domain.Order;
/**
* Create Order in the database
*/
public class CreateOrder implements Database
uired to give class
> path reference.
>
> Chances are that DatabaseCommand is not compiled.
> Check if you have the class file in bin directory.
>
> If not then clean the project and build again
>
>
> Thanks and Regards,
> Ashwin Tandel
> Email - [EMAIL PROTEC
bin directory.
>
> If not then clean the project and build again
>
>
> Thanks and Regards,
> Ashwin Tandel
> Email - [EMAIL PROTECTED]
>
> -Original Message-
> From: sam wun [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2008 12:04 PM
> T
Hi there,
I have created a Web project using Eclipse 3.4. However, it can't resolve
the class reference to the current directory.
Here is the project layout and description of the problem:
>DBTest
>src
> command
CommandExecutor.java
...
...
DatabaseCommand.java
hi,
I m having the same problem.
the war file is not unpack.
I have found the following parameters are set in the server.xml file:
unpackWARs="true" autoDeploy="true"
I have *deploy* a cat.war file to the following directory:
linux:~/tomcat/apache-tomcat-5.5.26/webapps # ls -l
total 78
dr
t way
> is to rename the file with a .zip extension, then you can right-click
> on it and Extract All.
> --
> Len
>
> On Sun, Aug 24, 2008 at 03:58, sam wun <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> >
> > I have downloaded commons-io-1.3.1.jar
BTW, how to see the content of the war file I built from Eclipse?
Thanks
> - Original Message -
> From: Edoardo Panfili
> Sent: 24/08/08 02:28 am
> To: Tomcat Users List
> Subject: Re: errors in deploying war file to tomcat 5.5
>
> Edoardo Panfili ha scritto:
> &g
> - Original Message -
> From: Edoardo Panfili
> Sent: 24/08/08 02:28 am
> To: Tomcat Users List
> Subject: Re: errors in deploying war file to tomcat 5.5
>
> Edoardo Panfili ha scritto:
> > sam wun ha scritto:
> >> Hi,
> >>
> >>
>
Hi,
I tried to deploy a war file (built from Eclipse in windows) into tomcat
5.5(in linux).
I got the following errors:
Aug 24, 2008 12:32:46 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer
'Catalina:type=Deployer,host=localhost'
Aug 24,
Hi,
when I create a web project in windows Eclipse (3.4), I use jre6.
But in my tomcat server (linux), it s using jre5.
Do I have to make the jre version to be the same for both platforms?
Because if I package it in a war file in windows, the lib jar files are
all in jre6 version.
Then when
Hi,
I triedto follow the tutorial shown in the link below
http://java.sys-con.com/node/152270
but I amstuck with the mysql location.
I haveinstalled mysql database engine in a linux server.
Thetutorial I am following on is started in windows Vista with Eclipse 3.4,
it assumed we installed
Hi,
I want to build a simple online order form with Struts, eclipse, and
tomcat (mysql database).
Is there any example/tutorial I can follow to create this simple project?
I found many tutorials are based on MyEclipse, but I am using Elcipse 3.4.
Thank you in advance.
Hi,
I m using Eclipse 3.4 (in Vista) and Tomcat 5.5 (in linux) as J2EE
development environment.
I want to build a online order form to interact with backend database in linux.
I know I can use dreamweaver to create web page (html template), but I
don't know how to use it and dont' have the time to
Hi,
I m using Eclipse 3.4 (in Vista) and Tomcat 5.5 (in linux) as J2EE
development environment.
I want to build a online order form to interact with backend database in linux.
I know I can use dreamweaver to create web page (html template), but I
don't know how to use it and dont' have the time to
HI,
I am following an example from the following link, but got error and
using maven building the project.
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
I have downloaded jta-1.1-classes.jar and used maven install it in
the repository.
Output from build process:
[INFO]
essage ----- From: "Sam Wun" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Monday, August 11, 2008 6:57 AM
> Subject: Tomcat within Eclipse
>
>
>> Hi,
>>
>> Can anyone tell me how to resolve the followoing exception?
>> and
Can you tell me how to setup a *userdatabase* for this case?
Thank you for your reply.
On Mon, Aug 11, 2008 at 5:14 PM, Jens Kapitza
<[EMAIL PROTECTED]> wrote:
> Sam Wun schrieb:
>>
>> Hi,
>>
>> Can anyone tell me how to resolve the followoing exception?
&g
Hi,
Can anyone tell me how to resolve the followoing exception?
and how do I know whether tomcat service is really running.
11/08/2008 14:47:47 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production enviro
On Sun, Aug 10, 2008 at 3:41 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> - Original Message ----- From: "Sam Wun" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Saturday, August 09, 2008 6:31 PM
> Subject: Re: Can't start tomcat
thansk for the response, it is actually a typo when I type it in the email here.
In eclipse, I use \ instead of /
Thansk
On Sun, Aug 10, 2008 at 3:41 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> - Original Message ----- From: "Sam Wun" <[EMAIL PROTECTED]>
>
les/Java/jdk1.6.0_10/lib/tools.jar for Classpath
Is there anything wrong with my configuration/setup?
Thanks
Sam
On Sun, Aug 10, 2008 at 1:00 AM, Sam Wun <[EMAIL PROTECTED]> wrote:
> sorry about the preivous email with a different subject.
> Here is the quest with the right subject name:
sorry about the preivous email with a different subject.
Here is the quest with the right subject name:
Hi, I have just configured Eclipse 3.4 with tomcat in windows vista.
The environemt is running JDK1.6 and JRE 1.5, but I have selected
jdk1.6 for the enviornemt.
When I press the Start Tomcat me
Hi, I have just configured Eclipse 3.4 with tomcat in windows vista.
The environemt is running JDK1.6 and JRE 1.5, but I have selected
jdk1.6 for the enviornemt.
When I press the Start Tomcat menu in the Eclispe menu bar, it thrown
the following exception in the Eclispe console:
10/08/2008 12:51:1
A1
>>
>> Sam,
>>
>> This is probably a question best asked on the Maven mailing list.
>>
>> - -chris
>>
>> Sam Wun wrote:
>> | Hi,
>> |
>> | I am wondering how to fix the following attached error (mvn command
>> run)?
>&g
Hi,
I am wondering how to fix the following attached error (mvn command run)?
I tried to follow the instruction shown in the following website, but got error.
http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html
=== attached mvn command run ===
Maven version:
Hi,
I am wondering how to fix the following attached error (mvn command run)?
I tried to follow the instruction shown in the following website, but got error.
http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html
=== attached mvn command run ===
Maven version:
Hi,
I am wondering how to fix the following attached error (mvn command run)?
I tried to follow the instruction shown in the following website, but got error.
http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html
=== attached mvn command run ===
Maven version:
why not use Linux?
On Sun, Aug 3, 2008 at 10:02 AM, Glyn Thomas <[EMAIL PROTECTED]> wrote:
> I am in the process of converting a Tomcat front end for a MySQL database
> from
>
> Windows XP to Windows Vista.
>
>
>
> The XP version used MySQL Version 5.0.22, Tomcat 5.5.20, JRE 1.5.0 release
>
> 12
Hi,
Can anyone link me an example about deploy application from windows
eclipse to linux Tomcat?
Thanks
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi,
Is there any user guide I can read thru for deploying applicatoin from
windows eclipse to linux tomcat?
I am using tomcat 5.5
Thanks
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROT
Hi,
I am wondering why use SOAP with Java?
Since SOAP is based on RPC, I think the best question may be asked, why use RPC
for client-server application?
Thanks
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hi,
I am new to Hibernate.
>From googl'ing around, I found that Hibernate is designed for mapping object
>classes and database.
But this doesn't entirely solve my puzzle on this framework, that is what it's
distinct advantage over simple usage of JDBC?
UnlessHibernate has another important/popul
anks
sam
On Fri, Mar 28, 2008 at 3:17 PM, Sam Wun <[EMAIL PROTECTED]> wrote:
>
>
>
> - Original Message
> From: Patrick Fong <[EMAIL PROTECTED]>
> To: Tomcat Users List
> Sent: Friday, March 28, 2008 2:53:49 PM
> Subject: Re: Tomcat tutorial
>
ebpage.
Thanks
S
tomcat.apache.org has a couple, but not as good as others.
On Fri, Mar 28, 2008 at 2:32 PM, Sam Wun <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to Tomcat. Is there any Tomcat tutorial (eg. example of projects)
> I can do
Hi,
I am new to Tomcat. Is there any Tomcat tutorial (eg. example of projects) I
can download from the web?
Thanks
S
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
ht
60 matches
Mail list logo