I opened a ticket in Jira
https://jira.springsource.org/browse/SPR-9149
Type: Posts; User: rasch; Keyword(s):
I opened a ticket in Jira
https://jira.springsource.org/browse/SPR-9149
Sorry for the delay. Was a bit busy.
Now I did some more testing and it definitely works fine in Tomcat and Glassfish, but not with Jetty and Resin.
>If there is a file input element with...
I made some more tests.
If the controller method has a parameter @RequestParam("file") MultipartFile then you need a StandardServletMultipartResolver in the spring configuration. Unfortunately...
Hi
I have the same problems. Always get a 400 Bad request, as soon I add parameters with @RequestParam to my upload method.
StandardMultipartHttpServletRequest
The CONTENT_DISPOSITION is imho...
That's a coincidence. I encountered the same problem two days ago. I also had to use the ApplicationContextAware workaround.
I try to inject MongoTemplate into an ApplicationListener class.
...
The solution with @Document(collection = "impressions") works, if you store the object only in one collection and the name of the collection is different than the default name. If you store an object...
Hi
If I have an object like this
@Document
public class User {
@Id
private String id;
You have to prefix the bean name with the character @
This
<s:eval expression="@planesController.allPlanes()" var="planes" />
should do the job.
You can add parameters too. Something like...
Hi
I created a sample project that demonstrates the problem.
https://github.com/ralscha/spring-security-test
Start with mvn jetty:run
Login with user bob and password bobspassword
With...
Formatting the date in the controller would work but then I have to change the type of birthDay property from Date to String.
As an exercise i changed the User object to a spring managed bean. But that does not work either.
@Named
public class User {
private String name;
@DateTimeFormat(iso=ISO.DATE)
...
Hi
I try to format a json output with the @DateTimeFormat annotation.
Here my simple test controller:
@Controller
public class TestController {
@RequestMapping("/doSomething")
There is a problem with the new JPA2 standard properties.
When I try to start a program with the following configuration it throws a "java.lang.UnsupportedOperationException: The user must supply...
I try to update a application from m2 to m3. I replaced spring-hibernate3.jar and spring.jar, started Tomcat and the following error occurs. I figured out that adding aspectjtools.jar to the...
I tested it with the newest version from cvs (2005-07-26) and it works now. Thanks a lot for fixing it.
:)
The problem is that eventDao is instantiated inside the scheduler. And this happens before the autoProxyCreator has the possibility to proxy the bean. As soon the bean is instantiated it's no longer...
public class EventDao extends HibernateDaoSupport {
@Transactional
public void delete(final Event event) {
getHibernateTemplate().delete(event);
}
...
Hello
I have a problem with a dao i'm using in a quartz scheduler. Here is a part of the application context xml file:
<bean id="eventDao" class="EventDao" autowire="byType">
</bean>
...