Subject: Re: Struts configuration problem with Apache + Tomcat + Struts
HELP
From: Hyunjin Kim [EMAIL PROTECTED]
===
Well.. Sorry for being not clear on my last msg..
I actually had:
VirtualHost 111.111.111.111
ServerName asdf.com
WebAppConnection conn warp asdf.com
-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
Hopes this helps.
Good Luck
--
On Sun, 31 Mar 2002 00:25:01
Struts Newsgroup wrote:
Subject: Re: Struts configuration problem with Apache + Tomcat + Struts
HELP
From: Hyunjin Kim [EMAIL PROTECTED]
===
Well
Subject: Re: Struts configuration problem with Apache + Tomcat + Struts
From: Jack Gao [EMAIL PROTECTED]
===
Well, as you said, you are using warp connector to connect Apache with
Tomcat. In your httpd.conf file, you define virtual directory for tomcat
examples, which is:
WebAppConnection conn
Scott,
In your Action object, get your DataSource using the call to
servlet.getServletContext()..., and then pass the DataSource to your
JavaBean object where you allocate your connection. This way you avoid
tying your JavaBean to the web application, and also remove the business
logic from
4 matches
Mail list logo