Wolfgang Woger wrote:
Craig R. McClanahan wrote:
Philipp Röthl wrote:
That's not really what I would like to do.
public ActionForward
execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throw
Craig R. McClanahan wrote:
Philipp Röthl wrote:
That's not really what I would like to do.
public ActionForward
execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception
{
SomeBe
Philipp Röthl wrote:
That's not really what I would like to do.
public ActionForward
execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws Exception
{
SomeBean myBean = new SomeBean();
}
EMAIL PROTECTED]
Cc:
Betreff: Re: AW: Looking up the Struts Datasource
you've tried the configuration detailed in the struts faqs?
http://jakarta.apache.org/struts/faqs/database.html
public ActionForward
Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: AW: Looking up the Struts Datasource
Date: Fri, 17 Oct 2003 20:01:39 +0200
Ben, thanks for your answer. But the DS I would like to get is the Struts
DS. The one I defined in the
prüngliche Nachricht-
Von: Ben Anderson [mailto:[EMAIL PROTECTED]
Gesendet: Fr 17.10.2003 16:22
An: [EMAIL PROTECTED]
Cc:
Betreff: Re: Looking up the Struts Datasource
It depends on the container as to how you put the datasourc
ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup(dsName);
From: Philipp Röthl <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Looking up the Struts Datasource
Date: Fri, 17 Oct 2003 15
Hi,
I've implemented a struts application that uses JavaBeans which perform the whole
business logic. These beans access an Oracle DB. The datasource is passed from the
action classes to the bean classes as a parameter.
Now I have to implement a WebService that does the same as the Struts Appli
8 matches
Mail list logo