File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Answer

 
Juan Porras Antonio
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I'm sorry. I'll be more specific.

I need to use CreateCriteria feature in Struts2 with Spring. I have setted up an enviroment with this three frameworks, but I only can use NamedQueries, I want to use CreateCriteria. However, to use CreateCriteria, I need Hibernate's object session.

I hope this explanation was better.

Regards.
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use A Meaningful Subject Line
Think if several threads come up with Answer as subject line then how can a person know by looking at subject line what query asked inside the thread
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64194
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also please learn the difference between replying to a topic and creating a new one. Was this meant to be a reply?
 
Ankit Garg
Sheriff
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to be a reply to this...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I still don't see how this is related to Struts 2.

Are you asking how to integrate Struts 2 with Spring? Just use "spring" as the object factory--this is done automatically by the Struts 2 Spring plugin. You can then inject any Spring objects you want into your actions.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic