Spring 3.0.4
public class CustomHandlerExceptionResolver extends DefaultHandlerExceptionResolver {
/**
* Logger for this class and subclasses
*/
protected final Log...
Type: Posts; User: lexius; Keyword(s):
Spring 3.0.4
public class CustomHandlerExceptionResolver extends DefaultHandlerExceptionResolver {
/**
* Logger for this class and subclasses
*/
protected final Log...
Thanks.
I am already using it.
But exceptionhandler is not calling when there is "freemarker.core.ParseException" error throwes.
For example in my logs I see:
...
Hello.
How I can intercept rendering error 500 view for sending notification email for admin?
I can using HandlerInterceptorAdapter, but how I can get stacktrace information, username and URL?...
I have make some test:
I live empty app-servlet.xml, and comment ContextLoaderListener in my web.xml
so there is only DispatcherServlet load my empty (without beens) context.
In my log file...
Hello.
In my web application the context is initialize twice. I can't anderstand why.
my web.xml:
...
<context-param>
Hello.
How I can internationalize error "Unable to process claimed identity ''" when user is try login with empty login ID?
For this exception there is no i18n message.
Thanks.
Hm...
It's working with
<security:openid-attribute name="email" type="http://schema.openid.net/contact/email" required="true" count="1"/>
http://schema.openid.net/contact/email but not...
Thanks for reply. I am using myOpenId.
But if I set in configuration required = true, and provider not support AX, must be thrown Exception? Successful authentication impossible?
In debug output I see that attributes attributes are in request, but there no in token object.
Can anybody help me?
Hi. I use attribute-exchange in my application, but code
OpenIDAuthenticationToken token = (OpenIDAuthenticationToken)SecurityContextHolder.getContext().getAuthentication();...
Hi.
I need a suggestion:
where I can create and save in DB a new User if I using openId login?
I can authenticate User, but than I need save some data in database.
What is the best...
java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this response
at org.apache.catalina.connector.Response.getOutputStream(Response.java:676)
Hi. I have an error in ShallowEtagHeaderFilter:
getWriter() has already been called for this response.
when calling FileCopyUtils.copy(body, response.getOutputStream());
All working fine...
Hi. I have problem with spring 3 rc2 and freemarker.
My old code is not working.
[@spring.bind path="user.roles" /]
[#list spring.stringStatusValue as role]
do something with role
[/#list]
...
Hi. I try to test nightly builds and combination of SimpleUrlHandlerMapping and @RequestMapping not working for me.
it coming from my class wich extends CookieGenerator.
Error appear only in M4. With M1 all working fine.
Hi. I can't inject value of (Integer cookieMaxAge).
I trying to upgrade from M1 to M4.
Error: Invalid property 'cookieMaxAge' of bean class .....: Bean property 'cookieMaxAge' is not writable...
All working fine with some changes in configuration:
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property...
Hi. Sorry for my English.
I can't get working Hibernate Search 3.1cr1 with JtaTransactionManager (there is no index writing).
With HibernateTransactionManager all working fine.
I don't know it's...
Hi. Sorry for my english.
After updating to swf 2.0.1 "externalRedirect:/index.jsp" not working.
I got error: NoSuchFlowDefinitionException: No flow definition 'index' found
And it redirected me...
Hi, sorry for my english.
If I am using comet requests (Glassfish Grizzly) will the LocaleContextHolder working properly?
LocaleContextHolder store data in ThreadLocal valiables, but in Grizzly...
I have the same problem. Anybody can help me?
You right.
Maybe you know how to set allowedFields/disllowedFields declaratively in xml file?
Hi.
Sorry for my English.
Maybe some people implemented annotations for allowedFields/disllowedFields in Spring MVC?
I think it is a good idea :)
public class Project implements...
Thanks.
It is that I need.