Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Hi Vijay, I at first solved this problem by...

    Hi Vijay,

    I at first solved this problem by injecting my PropertyPlaceholderConfigurer into the beans where I needed it and then asking it for the properties I needed. This was clearly less than...
  2. Replies
    2
    Views
    8,535

    I think this isn't the right place to discuss...

    I think this isn't the right place to discuss Lucene vs. Solr as it is in no way related to Spring web - alas here are some thoughts:

    Solr is built on Lucene and it is partly a matter of...
  3. I'm using something like this

    I'm using something like this


    <bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="ignoreResourceNotFound"...
  4. Replies
    15
    Views
    23,275

    Not sure this will solve your problem, but I've...

    Not sure this will solve your problem, but I've solved quite a lot of my character set problems using this in my web.xml:


    <filter>
    <filter-name>characterEncodingFilter</filter-name>...
  5. Replies
    2
    Views
    550

    form backing objects session collision?

    I have code like this:



    @Controller
    @SessionAttributes(types = Biz.class)
    public class BizController {


    @Autowired
  6. Hmm, might be that it's because I'm using spring...

    Hmm, might be that it's because I'm using spring 3. Anyway, as you don Controller mapping with annotations you should have a DefaultAnnotationHandlerMapping bean in your context, which you can ask...
  7. Have you tried to enable logging at the info...

    Have you tried to enable logging at the info level for org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping. That should give you a list of all URL path /Controller class...
  8. Replies
    1
    Views
    753

    Maybe a HandlerInterceptorAdapter

    I use a HandlerInterceptorAdapter for that. I have a class like this:



    import org.springframework.web.servlet.ModelAndView;
    import...
  9. Solved

    Solved it myself. The Freemarker stuff (and the org.springframework.mail package btw.) are in the context.support package which I somehow forgot to specify in my maven dependencies

    That snippet...
  10. FreeMarkerConfigurationFactory missing in spring 3.0.0.M3?

    Hi,
    I'm trying to use spring 3.0.0-M3 with Freemarker as the view technology. So I define an instance of org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer in my context but that...
  11. Replies
    5
    Views
    2,344

    I digged a little bit deeper and found that the...

    I digged a little bit deeper and found that the problem creating a session occurs in HttpSessionContextIntegrationFilter in line 250, which is - filter chain wise - on the way out of the request if...
  12. Replies
    5
    Views
    2,344

    Thanks for the quick reply Luke. I enabled debug...

    Thanks for the quick reply Luke. I enabled debug logging and had a look at the request/response headers. I can see that when I log in the session cookie gets set but it doesn't get set when...
  13. Replies
    5
    Views
    2,344

    Problems with RememberMeProcessingFilter

    Hi,

    I have a problem with RememberMeProcessingFilter. Basically the if statement on line 73 in this class


    if (SecurityContextHolder.getContext().getAuthentication() == null) {

    always...
  14. Issue with HibernateTemplate because of paging vs. distinct entitites

    I have a little issue with HibernateTemplate. I want to query for subsets of an entity backed by a potentially large table - so I want to use one of the methods that let me specify maxResults and...
  15. Replies
    9
    Views
    8,368

    Url no longer available

    Hi, the Url you gave is not responding. Is whatever is there available elsewhere?
  16. sample code to extract id from url

    Just if anybody else cares: I've created a little interceptor to extract ids from the URL in REST style URLs following the pattern /controller/action/id. It's not tested production quality code but...
  17. Solved

    OK, it was my fault. The mappings didn't work becuase I didn't explicity add org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping as a bean in my context but inadvertently...
  18. Thanks David! That's good news - but I actually...

    Thanks David! That's good news - but I actually think now that the controller mapping is the problem. I've always tried with relative paths at the method level RequestMapping and mapping the...
  19. Method level RequestMapping annotations for more REST style actions

    Hi,
    I'm toying with annotation driven controller configuration and I really, really like it.

    Now I just have one issue: I'd like to be able to have more (g)rails like URLs with the pattern...
  20. Replies
    0
    Views
    672

    Multiple workspaces and workspace.clone()

    Hi,

    I have a general question about the viability of using multiple workspaces to have edit and live data.
    From my understanding and the reading of the JSR-170 spec I got the idea that it would...
  21. Finally found the time to try version 1.0 and...

    Finally found the time to try version 1.0 and indeed my problem has been resolved. Thanks for the nice work!
  22. well I don't know whether that helps but when I...

    well I don't know whether that helps but when I follow the creation of the url it goes like this:
    getDispatcherPath is called from
    FlowExecutorArgumentExtractor.appendFlowExecutorPath and yields a...
  23. getDispatcherPath returns '/shop'

    getDispatcherPath returns '/shop'
  24. I'm using Tomcat 5.5.17

    I'm using Tomcat 5.5.17
  25. serblet mapping (web.xml)

    <servlet>
    <servlet-name>shop</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    </servlet>

    <servlet>...
Results 1 to 25 of 26
Page 1 of 2 1 2