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...
Type: Posts; User: joeslow; Keyword(s):
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...
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...
I'm using something like this
<bean id="propertyPlaceholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreResourceNotFound"...
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>...
I have code like this:
@Controller
@SessionAttributes(types = Biz.class)
public class BizController {
@Autowired
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...
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...
I use a HandlerInterceptorAdapter for that. I have a class like this:
import org.springframework.web.servlet.ModelAndView;
import...
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...
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...
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...
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...
Hi,
I have a problem with RememberMeProcessingFilter. Basically the if statement on line 73 in this class
if (SecurityContextHolder.getContext().getAuthentication() == null) {
always...
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...
Hi, the Url you gave is not responding. Is whatever is there available elsewhere?
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...
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...
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...
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...
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...
Finally found the time to try version 1.0 and indeed my problem has been resolved. Thanks for the nice work!
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...
getDispatcherPath returns '/shop'
I'm using Tomcat 5.5.17
<servlet>
<servlet-name>shop</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
</servlet>
<servlet>...