Here's a sample app that's ready to run if you have MySQL installed.

https://appfuse-light.dev.java.net/files/documents/6839/68407/appfuse-light-struts2-hibernate-1.8.zip

Matt


Vinicius Medeiros Peretti wrote:
> 
> I had problems with this combination using jdk 1.6, solved when I 
> changed the tomcat's jdk to 1.5.
> 
> Vinicius
> 
> Tom Holmes Jr. wrote:
>> Yes ... this is one of the very first links that came up with my 
>> Google search and I looked at this example in detail.
>>
>> Unfortunately, I'm not really using JPA (since in my opinion it's far 
>> from Hibernate and really not complete yet) ... and I'm not using Ajax 
>> at the moment.
>>
>> It really wasn't clear to me in this example how to use Struts2 + 
>> Spring2 Beans and Hibernate ...  eventually I did find an example that 
>> more closely matches what I was looking for.
>>
>> It was my fault that when I built my Maven2 pom.xml I included ALL the 
>> Struts2 plugins .. which in reality I just needed the Spring Plugin 
>> ... and none of the rest.
>> Additionally my fault ... I typed "applicationContent.xml"  as opposed 
>> to "applicationContext.xml"   ....   I hate when I do that.
>>
>> I still have a few more errors, but that is because I'm working on the 
>> right jars to add.   I'm missing a few for Spring2 that I need.
>>
>> Thanks very much for the help!
>>                                                                  Tom
>>
>>
>> Leena Borle wrote:
>>>>    
>>>>> 2) Can anyone point me to a sample Struts2 web-app
>>>>> that uses Spring2 Beans with Hibernate.
>>>>>       
>>>> Did you take a look at this example at,
>>>>     
>>>
>>>
>>> http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html
>>>
>>> It is complete with all possible combinations with Strus2
>>>
>>> Leena
>>>
>>> ---------------------------------------------------------------------
>>>  
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>     
>>>
>>>   
>>> ------------------------------------------------------------------------
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 
>>> 269.13.31/1031 - Release Date: 9/26/2007 12:12 PM
>>>   
>>
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2%2BSpring2-Beans%2BHibernate-tf4523404.html#a12913867
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to