Murray,

Is your included code 100% accurate?  I saw this listing in your posted
web.xml which makes no sense to me:

 <filter-mapping>
    <filter-name>HibernateFilter</filter-name>
    <servlet-name>*.do</servlet-name>
  </filter-mapping>

Shouldn't that be:

 <filter-mapping>
    <filter-name>HibernateFilter</filter-name>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </filter-mapping>

There is no servlet named "*.do".  Your url pattern would probably be the
"*.do" and your servlet to invoke ("servlet-name") would likely be "action",
as defined later in your web.xml example file.

Having a filter which doesn't work correctly might cause connectivity
problems by failing to set your environment up as you require.

Regards,
David

-----Original Message-----
From: Murray Collingwood [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 02, 2005 11:30 PM
To: user@struts.apache.org
Subject: [Hibernate] Who owns the problem?


Hi guys

I'm getting exceptions with some Hibernate code and when I post on the
Hibernate
forum they are claiming it is a Struts issue.  I've read lots of stuff from
almost
everywhere and continue to struggle with this implementation.

Please check out the background (and config/code) at:
http://forum.hibernate.org/viewtopic.php?p=2264278

Please let me know if this is a Struts problem or a Hibernate problem.
Maybe there's a
simple solution I'm missing?

Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 30/09/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to