Good JSP editor

2008-09-06 Thread sam wun
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

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

2008-09-02 Thread sam wun
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: > > > >

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 > /tom

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
#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, > > &

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
> > 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

Re: Can't execute servlet project

2008-09-02 Thread sam wun
    default.jsp             DB Connection     jdbc/TestDB     javax.sql.DataSource     Container   > - Original Message - > From: sam wun > Sent: 03/09/08 01:41

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
; 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

Re: Re: Can't execute servlet project

2008-09-02 Thread sam wun
> > 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

Re: Re: Can't execute servlet project

2008-09-01 Thread sam wun
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

Re: Can't execute servlet project

2008-09-01 Thread sam wun
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

Monitor contanier

2008-08-29 Thread sam wun
Hi there, What can I use to monitor tomcat container? Thanks

Why GlassFish

2008-08-28 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-08-28 Thread sam wun
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

Re: Can't execute servlet project

2008-08-28 Thread sam wun
  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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
.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

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

2008-08-27 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
... > 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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
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

Re: Re: Can't execute servlet project

2008-08-27 Thread sam wun
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

Can't execute servlet project

2008-08-26 Thread sam wun
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

Can't generate class file from Interface

2008-08-26 Thread sam wun
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

how to create domain.Order class

2008-08-25 Thread sam wun
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

Re: RE: how to reference a class to the current src directory.

2008-08-25 Thread sam wun
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

Re: RE: how to reference a class to the current src directory.

2008-08-25 Thread sam wun
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

how to reference a class to the current src directory.

2008-08-25 Thread sam wun
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

Re: RE: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-25 Thread sam wun
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

Re: Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
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

Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
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

Re: Re: errors in deploying war file to tomcat 5.5

2008-08-24 Thread sam wun
> - 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, > >> > >> >

errors in deploying war file to tomcat 5.5

2008-08-23 Thread sam wun
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,

java version in windows and tomcat server

2008-08-19 Thread sam wun
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

establsh remote db connection

2008-08-19 Thread sam wun
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

simple online order form

2008-08-18 Thread sam wun
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.

Form design or framework from Eclipse or Tomcat.

2008-08-14 Thread Sam Wun
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

Re: Tomcat JConsole

2008-08-14 Thread Sam Wun
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

javax.transaction:jta:jar:1.0.1B

2008-08-12 Thread Sam Wun
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]

Re: Tomcat within Eclipse

2008-08-11 Thread Sam Wun
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

Re: Tomcat within Eclipse

2008-08-10 Thread Sam Wun
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

Tomcat within Eclipse

2008-08-10 Thread Sam Wun
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

Re: Can't start tomcat within Eclipse.

2008-08-09 Thread Sam Wun
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

Re: Can't start tomcat within Eclipse.

2008-08-09 Thread Sam Wun
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]> >

Re: Can't start tomcat within Eclipse.

2008-08-09 Thread Sam Wun
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:

Can start tomcat within Eclipse.

2008-08-09 Thread Sam Wun
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

Re: How to programmatically add parameters to ServletRequest objects?

2008-08-09 Thread Sam Wun
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

Re: mvn command line failed with archetype....

2008-08-08 Thread Sam Wun
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

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Sam Wun
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:

mvn failed with archetype....

2008-08-08 Thread Sam Wun
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:

mvn command line failed with archetype....

2008-08-08 Thread Sam Wun
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:

Re: Problem with Displaying Result of a MySQL Join in Tomcat

2008-08-02 Thread Sam Wun
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

example about deploy application from windows eclipse to linux Tomcat

2008-08-02 Thread Sam Wun
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

Deploy application from Eclipse (windows) to Tomcat (in linux).

2008-08-01 Thread Sam Wun
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

Why use SOAP in Java

2008-04-09 Thread Sam Wun
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

Usage of Hibernate

2008-04-06 Thread Sam Wun
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

Re: Tomcat tutorial

2008-03-27 Thread Sam Wun
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 >

Re: Tomcat tutorial

2008-03-27 Thread Sam Wun
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

Tomcat tutorial

2008-03-27 Thread Sam Wun
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