I don't know why this happens... but if I annotate a controller method with @ResponseBody (returning String), and I output JSON from it, the unicode text that I will receive on the browser (any one)...
Type: Posts; User: dariodariodario; Keyword(s):
I don't know why this happens... but if I annotate a controller method with @ResponseBody (returning String), and I output JSON from it, the unicode text that I will receive on the browser (any one)...
That didn't work. The solution is this:
<mvc:interceptors>
<bean class="org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor">
<property name="sessionFactory">
...
Hello,
I had the (in)famous problem with hibernate and lazy loading when views are rendered.... As many say, the only two solutions are:
- Make the method transactional (and this is not always...
Hello,
I am new to Spring and I was just reading the docs about Hibernate-Spring integration (version 3). I don't get why the automatic transaction management (the declarative one) is applied to a...
Hello,
this is my first post in this forum (which I think I will use toroughly in the future), so I apologize in advance if I posted in the wrong category. The fact is that I'm using STS, so it...