; Hi,
> I have started working in Struts and planned to use Struts and iBatis. I
> actually studied Struts thru Reumann's site and when I was abt to use iBatis
> in my sample app, his site was down. I want to know
>
> - if there are any good tutorials for iBatis and Struts.
>
0.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: "Subbiah" <[EMAIL PROTECTED]>
To:
Sent: Sunday, May 29, 2005 1:36 AM
Subject: Struts and iBatis
Hi,
I have started working in Struts and planned to use Struts and iBatis. I
ac
Hi,
I have started working in Struts and planned to use Struts and iBatis. I
actually studied Struts thru Reumann's site and when I was abt to use iBatis
in my sample app, his site was down. I want to know
- if there are any good tutorials for iBatis and Struts.
- Any idea when the site
Tim,
If you are using Tomcat, you would set up a resource in the server.xml
.
.
.
and in your web.xml you would have a resource-ref tag like this:
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
-Richard
At 02:08 PM 2/21/2005, you wrote:
Cheers for the advice
Tim,
I think that depends on which application server you are using. In my case,
I'm using Oracle's OC4J. It uses a file called datasources.xml to define
datasources. In Resin, the datasource is defined in the web.xml file using
the element.
What app server are you using?
-Richard
I have the d
Cheers for the advice.
I've decided I'm going to start again with iBATIS and try to follow
the jPetStore example to get it to work (instead of the one at
http://www.reumann.net/struts/ibatisLesson1/step1.do)... I just have
a quick question about your reply though:
>>
Where abouts should the da
Tim,
Without seeing the entire sqlMapConfig.xml it's going to be hard for anyone
to figure out exactly what the problem is. You can get more direct help by
posting at [EMAIL PROTECTED]
I think you also need a DataSource property in your transactionManager.
This is what I use. I don't set DBInit
Here's an extract from my sql config file:
###
INSERT INTO tbl_Module ( module_id, module_credits, module_semester,
module_level, module_description )
VALUES ( #id#, #credits#, #semester#, #year#, #description# )
###
I've tried a few variations of this, for e
The code there is:
===
MappedStatement ms = (MappedStatement) mappedStatements.get(id);
if (ms == null) {
throw new SqlMapException("There is no statement named " + id +
" in this SqlMap.");
}
return ms;
===
Looks like you have a sqlmap, but that the statement "insertModule"
Hi,
I'm in the middle of incorporating iBATIS into my Struts project, but
am having slight trouble in getting it to work.
The problem starts when I call sqlMap.startTransaction() from within
my BaseDAO file as I get a null pointer exception... Yet when I print
out the value of sqlMap I get somet
10 matches
Mail list logo