Search:

Type: Posts; User: Jeroen Kransen; Keyword(s):

Search: Search took 0.02 seconds.

  1. Have you tried without the charset declaration?...

    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:
    ...
  2. Hi, according to this site...

    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...
  3. Configuring Spring webapp in Tomcat Context scope

    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...
  4. solved!

    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...
  5. AOP proxy and implementing an interface

    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">...
  6. OpenSessionInViewFilter and JSF - how do I get both?

    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...
  7. Replies
    14
    Views
    19,553

    Is there any work-around to use this with jdk...

    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...
  8. Replies
    5
    Views
    1,094

    A traditional breakdown of an "administrative"...

    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...
  9. Replies
    1
    Views
    1,266

    Integrating WebDAV with Spring Web MVC is also...

    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...
  10. Even when you override the / mapping, the default...

    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>...
  11. OT: XMLBuddy doesn't like remote spring-beans.dtd

    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:
  12. That's amazing! It works indeed! So, to...

    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()...
  13. We know we can do that, we're just more ambitious...

    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...
  14. I decided to filter the code to what was relevant...

    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 =...
  15. I am not trying to reference it "directly", as in...

    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.
    ...
  16. Minimal Acegi configuration to replace Servlet security?

    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...
  17. Controller picks up call to ViewResolver

    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...
Results 1 to 17 of 17