Have you tried without the charset declaration? Not sure what that does with a binary file which .xls is...
Maybe if you define a filename that ends with .xls, IE also gets a clue:
...
Type: Posts; User: Jeroen Kransen; Keyword(s):
Have you tried without the charset declaration? Not sure what that does with a binary file which .xls is...
Maybe if you define a filename that ends with .xls, IE also gets a clue:
...
Hi, according to this site, Java does not support non ASCII word characters using \w. If you have only a few, you might want to write it out using [a-zA-Záà....] but I'm sure you don't want to do...
Hello, I want to deploy a .war file serveral times and use a different .properties config file outside of the .war file for each deployment. Now I use the PropertyPlaceholderConfigurer and point it...
So I looked into this for hours before posting this thread, and 30 seconds later I solved it myself! :)
This is all I needed to change in the above code snippets:
<aop:config...
I am new to AOP and Spring AOP, but I thought I would give it a try with transaction demarcation. I looked up this basic example:
<bean id="userService" class="dvdpool.service.UserService">...
I get a LazyInitializationException accessing a collection on a Hibernate persistent object, despite using the OpenSessionInViewFilter. This makes sense, since I use <redirect/> in my navigation...
Is there any work-around to use this with jdk 1.4, since System.getEnv() throws an Error?
Besides, is it possible to pass the path to the .properties file using one of those environment...
A traditional breakdown of an "administrative" application would be to have a services layer on top of a data access layer, and a presentation layer on top of that. If you want to have a multi-user...
Integrating WebDAV with Spring Web MVC is also something I am interested in. Did you find anything usable or did you make something under an Open Source license? I think about trying to set up...
Even when you override the / mapping, the default servlet is still available. So you can just do:
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.css</url-pattern>...
When I use the standard DOCTYPE:
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
XMLBuddy has a fatal error:
That's amazing! It works indeed! So, to summarize: where /* has higher precedence than *.jsp, *.jsp has higher precedence than /
One thing to watch out for: what you get with request.getPathInfo()...
We know we can do that, we're just more ambitious than that ;)
That might be helpful in general (can't think of any use cases now), but I don't think it's a good solution for this particular...
I decided to filter the code to what was relevant here, to not scare people off. It doesn't really matter what the controller does, but let's show some of it here:
String currentPath =...
I am not trying to reference it "directly", as in "from the browser". I let the controller decide to show a view (implemented as a JSP), and then the very same controller picks it up a second time.
...
Hello,
I have seen lots of extensive examples, such as the example .war that ships with Acegi, the documentation and the Wrox book on Spring. I share the opinion that it is much more powerful...
Hello,
I have exactly 1 Controller that I want to pick up any request. Since I want to put information in the URL (as opposed to parameters), and I want to be able to start this info from the root...