Thanks Marten,
I realize that my question 2) was a really a newbies question. For some stupid reasons I was lead to believe that Spring was somehow wrapping my class into a controller class when I...
Type: Posts; User: jean.tremblay; Keyword(s):
Thanks Marten,
I realize that my question 2) was a really a newbies question. For some stupid reasons I was lead to believe that Spring was somehow wrapping my class into a controller class when I...
Hi,
I'm using the following construct
@Controller
public class DefaultValuesController{
@Autowired private Services services;
Hi Martin,
Thanks for your hints. Obviously you are right. Using the Extension tab is the right way to do it. I did not think of using this, as this is not the way I was doing with my old Eclipse....
Hi,
I have installed STS - 2.8.1.RELEASE
Now I want to install subclipse to access my SVN repository.
When I try to install Polarion -...
Hi,
I have been using Spring with Sitemesh successfully. My application was using Spring 2.0 and Sitemesh 2.4.2.
Now I migrate my program to Spring 3.0. Previously all my controllers were...
Hi,
I use the following to configure in my app a bean associated for a user session.
<bean id="sessionInfo" class="com.web.SessionInformation" scope="session" init-method="init"...
The many domain name was used on our system because some clients were using our domain name without the www and later we were redirecting them to the www.myserver.com
So my temporary solution is...
Hi,
Once in a while I will have some clients complaining that they cannot login on our services. They say they went to the login page then they pressed the login button and they are sent back to...
Thanks Gordon. You're the man!
That is exactly what I was looking for.
For those interested this is how I have done it:
I created a SessionCustomizer
public class MySessionCustomizer...
Hi,
I use spring, with toplink and log4j on tomcat.
I have a configuration which allows me to log the output to a file for my program and as desired the output of Spring Framework....
<http auto-config="true" session-fixation-protection="none">
I have set session-fixation-protection to none, and that solved my problem.
Now, my last question how could I use the default for...
Hi,
In my spring(2.5.5) application using spring-security(2.0.3), I use a session scoped bean. The users are authenticating themselves with a form. When users are going to the login page I see my...
Forget about all I have said. The init method is called. It was not called when I thought it was going to be called.
I thought the init method was going to be called when the session was going to...
Thanks again Jörg.
I guess I will use my solution. Lazy init all fields like I showed above.
Thanks anyway.
Jean
Thanks Joerg for your reply.
So far I have tried these two methods without success.
I have used in the past the init-method for singleton bean and it always worked as described, but somehow...
Hi,
I am using MVC with Acegi. I created a session scope bean to keep my user preferences.
My problem is that I don't know the best place to initialize this been. How can I initialize this been...