Hello All,
I'm working on a sample project, where in upon clicking a button or hyperlink, a popup window is opened and some values entered on that popup are required to be updated back on...
Type: Posts; User: Sparemejava; Keyword(s):
Hello All,
I'm working on a sample project, where in upon clicking a button or hyperlink, a popup window is opened and some values entered on that popup are required to be updated back on...
Please let me know, if my question is too vague to answer. I will be glad to provide more information, if needed.
Hi All,
We have a schema similar to what given below
<xs:element name="someResponse" type="simpleInfo:simpleResponse_Type"/>
and let us assume that the above definition is...
May be I misunderstood the whole thing from the beginning.
Let me put this much simpler and straight forward.
How can I let Spring route to a desired page, if a session times out. I'm...
Thank you for the response Andy.
We are already using the persistent cookie in our code. But, how to have <session-invalidate> react to persistent cookie, instead of browser cookie. That is what...
Any advice please.
Hello All,
briefly,
Recently in one of our projects, we added "<session-management invalid-session-url="/logout" />" to Spring security under <http> element and since then we started...
Hi All,
We have a third party library, where the required instance is instantiated using a factory method. Something like
Service service = ServiceFactory.getInstance();
and now...
Though I have not tried this by myself, but PowerMock has some features that would enable you to mock private, static methods. Also EasyMock with extension claim to have similar facility. Have you ...
Thank you Luke. It was purely an oversight, though I was referring to that document. Thanks for the reply.
Hi All,
In our project setup, we defined DelegatingFilterProxy as below in web.xml
<filter>
<filter-name>SecurityFilterChain</filter-name>
...
Hello All,
We know that by default Spring manages singleton beans instead of prototype and we can change this configuration. But considering that we are using only Singleton beans, how...
Thank you all.
I think, I understand why /error?errorCode=123 is still navigating to ErrorController.
If I understand that correctly, ViewResolver would hae actually resolved to a right view error.jsp, and...
Thank you for the reply. Though, your suggestion is an elegant one for handling exceptions, but I afraid, the suggestion may not work in my favor. We are using InternalResourceViewResolver and that...
Hello All,
I have couple of controllers as below
@Controller
public class ErrorController{
@RequestMapping("/error")
public ModelAndView...
Thank you Marten.
Hi All,
I know that using xml configuration, we can define several bean elements, with different bean ids, but each of those beans are actually instance of same class. But how does this work...
Hello All,
I'm facing this weird problem and I would try to post the problem as clearly as possible.
We have a project, which deals with Webservice calls. Let us call this ProjectA.
...
This seems to be a custom scope.
Hello All,
In an existing project, which I'm working on I saw a configuration of a bean having the scope declared as "operation". This bean is exposed as a webservice. I knew that Singleton,...
Hello All,
I tried to install a Jadclipse plugin from Sourceforge, open source projects into my Springtool suite IDE, but I do not see it being configured properly. All I did was dropping the...
Any advice on this question.
Hello All,
I have seen several good opinions on Apress book, Spring Recipes written by Gary Mak. There are two books one is based on Spring2.5 and the other on Spring 3.0 (2nd edition). I...
Hello All,
In our project (existing code), I saw the usage of HandlerExceptionResolver, where a custom resolver is implementing HandlerExceptionResolver interface.
It is looking like
...