RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Lee Chin Khiong


Anybody familiar with sql ?
I have a question here, how to link 2 tables from JSP when they have a same
field name ?

 



RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Nicholson, Dale

Try something like this:

select a.fieldname1, b.fieldname1 
from table1 a, table2 b

Where you put the a after the first table name and the b after the second
table name.  Then you refer to the fieldnames with those letters first so
sql knows which table to look in for that field.


Dale Nicholson 

 -Original Message-
 From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 10, 2002 1:43 AM
 To: 'Tomcat Users List'
 Subject: RE: Please help me on a question about TOMCAT OR APACHE +
 TOMCAT
 
 
 
 Anybody familiar with sql ?
 I have a question here, how to link 2 tables from JSP when 
 they have a same
 field name ?
 
  
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread David Cassidy

I would suggest a minor addition to the below ...

where a.fieldname1= b.fieldname1

otherwise the results could be eerrr well rather large 
( select what you want ...)


Nicholson, Dale wrote:

Try something like this:

select a.fieldname1, b.fieldname1 
from table1 a, table2 b

Where you put the a after the first table name and the b after the second
table name.  Then you refer to the fieldnames with those letters first so
sql knows which table to look in for that field.


Dale Nicholson 

-Original Message-
From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 1:43 AM
To: 'Tomcat Users List'
Subject: RE: Please help me on a question about TOMCAT OR APACHE +
TOMCAT



Anybody familiar with sql ?
I have a question here, how to link 2 tables from JSP when 
they have a same
field name ?

 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Ken Anderson

Tomcat Standalone is not an enterprise webserver, and will not stand up 
to the pounding that Apache can take. I think you would find that your 
response time drops off rather quickly if you are hosting 200 active 
virtual domains. If you don't serve many concurrent requests, and don't 
need the power and flexibility of apache, tomcat standalone is fine.
Ken


Lalit Nagpal wrote:

hello,
i am using tomcat as a standalone. i have jsps and servlets working
quiet normally, i see no reason why apache should be connected to tomcat
if servlets and jsp serve your purpose. although some people argue that for
static pages apache will respond to requests much faster than tomcat.
however i feel the response time difference is negligible.
bye
Lalit Nagpal 
 



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-09 Thread todd tredeau

Hi;
I have a sample with example virtual host setup on my Chiki open 
source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 
Unfortunately, you'll have to sign in and edit to view the full 
source. I think it answers your question. Personally, I'd probably still 
run Apache in front, but it really doesn't matter.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:

Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT
From: Hyunjin Kim [EMAIL PROTECTED]
 ===
all my web pages will be in jsps (to use include). Should I still use Apache
in front of TOMCAT? won't it be better to use tomcat only in my
case?(although I will still use images and other medias) I think coming
through apache and talking to tomcat via a connector is more pricey in my
case...

and also..

if i choose to use tomcat only.. (stand-alone).. can i use name virtual
host?? It seems like Host tag in server.xml is for that purpose.. but
there's very vew documentations on how to configure server.xml file for
tomcat-stand alone + name virtual host..



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-09 Thread Michael Teter

Howdy.

I found a very useful document that describes in
simple terms how to set up Apache + (n * Tomcat) in
load-balancing fashion.  That may be something to
consider just for flexibility.

I currently have mine configured with only one Tomcat,
so the load balancer isn't doing much for me, but it's
trivial for me to add another internal machine with
Tomcat and share the load.

http://www.ubeans.com/tomcat/index.html

Good luck.

Michael

--- todd tredeau [EMAIL PROTECTED] wrote:
 Hi;
 I have a sample with example virtual host setup
 on my Chiki open 
 source project site.
 http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 
 Unfortunately, you'll have to sign in and edit to
 view the full 
 source. I think it answers your question.
 Personally, I'd probably still 
 run Apache in front, but it really doesn't matter.
 
 todd
 http://www.wiserlabz.com
 collaborative effort to promote Novell and Open
 Source solutions
 
 Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:
 
 Subject: Please help me on a question about TOMCAT
 OR APACHE + TOMCAT
 From: Hyunjin Kim [EMAIL PROTECTED]
  ===
 all my web pages will be in jsps (to use include).
 Should I still use Apache
 in front of TOMCAT? won't it be better to use
 tomcat only in my
 case?(although I will still use images and other
 medias) I think coming
 through apache and talking to tomcat via a
 connector is more pricey in my
 case...
 
 and also..
 
 if i choose to use tomcat only.. (stand-alone)..
 can i use name virtual
 host?? It seems like Host tag in server.xml is
 for that purpose.. but
 there's very vew documentations on how to configure
 server.xml file for
 tomcat-stand alone + name virtual host..
 
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-09 Thread Lalit Nagpal


hello,
i am using tomcat as a standalone. i have jsps and servlets working
quiet normally, i see no reason why apache should be connected to tomcat
if servlets and jsp serve your purpose. although some people argue that for
static pages apache will respond to requests much faster than tomcat.
however i feel the response time difference is negligible.
bye
Lalit Nagpal 
 



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax