Hi joha,
it's quite a year ago as you posted your problem but today I run in the same error like you. First time I tried to build the archetype-module with maven version 3.0.3 and get the same...
Type: Posts; User: Hardie82; Keyword(s):
Hi joha,
it's quite a year ago as you posted your problem but today I run in the same error like you. First time I tried to build the archetype-module with maven version 3.0.3 and get the same...
Hi,
RedirectView isn't a ModelAndView. It's only a view and so you have to include it in a ModelAndView-object. The redirect to the same page is ok. It is possible to extend the redirect-link with...
Hi Luke,
now I get it, that it is only a debug message and not an error. But I have the problem, that I can't login to the application. When the login-prompt is shown and I insert the data...
I get following stacktrace:
14:49:43,885 DEBUG FileUploadExceptionResolver:23 - MaxUploadSizeExceededException was thrown
14:49:43,885 DEBUG DispatcherServlet:1117 - Handler execution...
Sorry, but I didn't find a solution yet :(
Hi. I am new to Spring Security and want to use it for a small web application. Therefore I tried to use the basic-authorization-filter and implement it in the context file as follow:
<bean...
Hi at all. I have a question about the redirect in spring. I use velocity and spring. On my page I display a table including filenames and a deleteoption. When the deleteoption is used my...
Hi Mike. I didn't get it all. Is your code part of the ExeptionResolver? Or did your controller implements the resolver? And is the object the commandClass of the controller?
Thanks for this advice, but we need a solution to deal with the exception when a larger file wanted to be upload. At time I get the full stacktrace and don't know where and how to deal with the...
Hi. I have the same problem at this time and would also be happy if somebody can give us an example how to handle this exception, please.
Regards
Hardie
Oh, okay. That's also a good solution. Thanks for this.
Regards
Hardie
Okay, I have find it out by myself. You can declare an init-method for the bean, which is running after instanciation and setter.
<bean id="myBean" class="org.lalelu.MyBean" init-method="initBean"...
Hi, thank for the fast answer. I tried tot do so but now I get a NullPointerException because the path isn't set. The constructor of my beans calls an initializeing method to start openoffice. Could...
Hi at all,
I want to configure my application via a property file and don't know how to do. The background is that I am using the openoffice-api and need to set the absolute path to the...
Hi at all,
I also want to use the message resource in my controller and implemented the interface. Now my question: how do I instanciate the resource to my controller? Is the following the right...
Hi at all,
today I want to save my uploaded file to disk. How can I realize it? I have the MulitpartFile-Object in my UploadController. Is it correct to transfer this file to a normal file and...
Thanks a lot. I found the spring-webmvc.jar file in a subdirectory of the dist directory. I also used the spring.jar and thougth this contains all packages but don't seems so :(.
Regards
Hardie
Hi. I don't know whether I'm too stupid but I can't find the org.springframework.web.servlet-package. I want to create a simple web-application with spring and velocity and therefore I downloaded the...