Search:

Type: Posts; User: rasch; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,371

    I opened a ticket in Jira...

    I opened a ticket in Jira
    https://jira.springsource.org/browse/SPR-9149
  2. Replies
    5
    Views
    1,371

    Sorry for the delay. Was a bit busy. Now I did...

    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...
  3. Replies
    5
    Views
    1,371

    I made some more tests. If the controller...

    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...
  4. Replies
    5
    Views
    1,371

    Hi I have the same problems. Always get a 400...

    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...
  5. That's a coincidence. I encountered the same...

    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.


    ...
  6. The solution with @Document(collection =...

    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...
  7. MongoDB: Spring-Data-Document, Repository and Querydsl with Id

    Hi

    If I have an object like this



    @Document
    public class User {
    @Id
    private String id;
  8. You have to prefix the bean name with the...

    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...
  9. Replies
    6
    Views
    1,235

    Hi I created a sample project that...

    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...
  10. Replies
    7
    Views
    6,215

    Formatting the date in the controller would work...

    Formatting the date in the controller would work but then I have to change the type of birthDay property from Date to String.
  11. Replies
    7
    Views
    6,215

    As an exercise i changed the User object to a...

    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)
    ...
  12. Replies
    7
    Views
    6,215

    @DateTimeFormat and JSON

    Hi

    I try to format a json output with the @DateTimeFormat annotation.
    Here my simple test controller:


    @Controller
    public class TestController {

    @RequestMapping("/doSomething")
  13. Replies
    0
    Views
    1,184

    Problem with JPA2 standard default properties

    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...
  14. Replies
    0
    Views
    674

    New runtime dependency?

    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...
  15. Replies
    5
    Views
    1,468

    I tested it with the newest version from cvs...

    I tested it with the newest version from cvs (2005-07-26) and it works now. Thanks a lot for fixing it.

    :)
  16. Replies
    5
    Views
    1,468

    The problem is that eventDao is instantiated...

    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...
  17. Replies
    5
    Views
    1,468

    Re: Problem with Autoproxy

    public class EventDao extends HibernateDaoSupport &#123;
    @Transactional
    public void delete&#40;final Event event&#41; &#123;
    getHibernateTemplate&#40;&#41;.delete&#40;event&#41;;
    &#125;

    ...
  18. Replies
    5
    Views
    1,468

    Problem with Autoproxy

    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>
    ...
Results 1 to 18 of 18