Search:

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

Search: Search took 0.02 seconds.

  1. SpringMVC exception handling: getting rid of the ModelAndView infrastructure

    I currently develop a RESTful web application using the @MVC REST extensions (@RequestBody, @ResponseBody, messageConvertors...). My plan is avoid the ModelAndView infrastructure at all but I've got...
  2. Checking accept header before executing a controller

    Let's have this simple controller:



    @Controller
    public class MyController {
    @RequestMapping(method = RequestMethod.POST)
    public @ResponseBody ResultStructure...
  3. Replies
    0
    Views
    996

    @Scheduled cron with a given timezone

    Is there a way to specify a timezone for the Cron expression in the @Scheduled annotation? Something like:


    @Scheduled(cron="* * * * *" timezone="America/Los_Angeles")

    Or is Quartz my only...
  4. Replies
    1
    Views
    832

    Un-ACKed messages problem

    I stumbled across a problem when calling the stop() method on the SimpleMessageListenerContainer instance. The AbstractMessageListenerContainer method doExecuteListener(...) seems to be the core of...
  5. Replies
    3
    Views
    1,880

    Is there a way to achieve this functionality...

    Is there a way to achieve this functionality without annotations? I am stuck with java 1.4 :(
  6. Replies
    3
    Views
    1,880

    Injection based on parent class / interface

    I am looking for a solution to this problem. Let's have an abstract class:



    public abstract class Base
    {
    protected Service service;

    public void setService(Service service)
    ...
  7. Intercepting Struts action with HibernateInterceptor

    Hi, I have wasted my whole weekend to solve this problem, but without any result. I work on Struts, Spring and Hibernate integration and my idea is to intercept Struts action with...
Results 1 to 7 of 7