I found the answer.
add @SessionAttributes("webFrameworkList") to the class.
Once it's done, clean up by sessionStatus.setComplete();
Thanks.
Type: Posts; User: xzcgeorge; Keyword(s):
I found the answer.
add @SessionAttributes("webFrameworkList") to the class.
Once it's done, clean up by sessionStatus.setComplete();
Thanks.
Before spring 2, in a controller we can process both GET and POST requests.
The method protected Map referenceData() {...} will be executed once only when the GET request comes or when the...
Extends the PropertyPlaceholderConfigurer to set your properties.
Super answer Marten! Thank you very very much!
Here are the web.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
...
Thank you for your reply.
The problem is the configuration in the web.xml is standardlized usage for spring mvc, isn't it? I mean that the configuration is ok, but.... I don't know why the...
When the application runs on a web server, every bean defined are created twice. First time the bean is created by the ContextLoaderListener, when the second is created by the DispatcherServlet.
...
When the application runs on a web server, every bean defined are created twice. First time the bean is created by the ContextLoaderListener, when the second is created by the DispatcherServlet.
...
Can you share your code with me?
Thanks.
Thanks a lot. That's really helpful for newbies such as me.
Hi Gurus,
I am a newbie on WS. my dev envionment is:
1. IBM WSAS 5.1.x that means, only jdk1.4.x can be used.
2. the services to be created will be used by many clients.
Basing on the...
Many reasons can caused the case. one of them is your data bind error.
Look at the snippet from package org.springframework.web.servlet.view
public class ResourceBundleViewResolver extends AbstractCachingViewResolver implements Ordered, DisposableBean {
......
Thanks davision.
Here is my configuration:
<bean id="resourceBundleViewResolver"
class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
<property...
I have a project using Spring. Veloicty is used as an normal view tech while a PDF view is also needed. So I need two two solvers.
Can anybody show me how to setup how to order ...
It is said that the Hibernate team changed config loading from 3.1.x which caused the problem.
I have same problem. What I have done is:
Spring 1.2.x + Hibernate 3.1.x --> connection leak.
Spring 1.2.x) + Hibernate 3.0.5-- no leak.
The environment is: Websphere 5.1.x + Oracle 9i.
RequestContextUtils.getLocale(request)