Search:

Type: Posts; User: jjunos; Keyword(s):

Search: Search took 0.02 seconds.

  1. good question, From looking at the source, it...

    good question,

    From looking at the source, it looks like you just need to extend the

    package org.springframework.security.userdetails;

    User class with the info you want, and just make...
  2. Replies
    2
    Views
    1,049

    are you asking to force the browser to show a...

    are you asking to force the browser to show a login page when the session times out?

    Usually, you have to wait until the user attempts to access something for you to catch that (ie, no client...
  3. Replies
    1
    Views
    790

    You can simply override the given default filter,...

    You can simply override the given default filter, look up the filter in the

    package org.springframework.security.ui.logout;



    I believe you can also do this using a pointcut but I haven't...
  4. Yeah, that was the way I went. It actually ended...

    Yeah, that was the way I went. It actually ended up being somewhat overkill, I ended up in the end refactoring the class and passing/retrieving the file via a Resource that was injected in. Worked...
  5. Replies
    3
    Views
    753

    Ah, that's a great suggestion, thank you! (talk...

    Ah, that's a great suggestion, thank you! (talk about trying to over-engineer a problem ;) )

    The only problem I actually had was that creating a resource in that way, I couldn't correctly get to...
  6. Replies
    3
    Views
    753

    Better way to retrieving config files?

    So my original problem here
    http://forum.springframework.org/showthread.php?p=195793#post195793

    I solved by implementing the ApplicationContextAware, which actually makes a lot of things more...
  7. Retrieving a file from WEB-INF without a servlet context

    Is there a way to do this without the ServletContext?

    Normally, if I had the servlet context, i would do a ServletContext.getResourceasStream() etc, but I'm using Spring2.5, and I have a class...
  8. Replies
    4
    Views
    4,922

    Yeah, kevin you hit that one on the head. I can't...

    Yeah, kevin you hit that one on the head. I can't be 100% sure if that solved the issue or not (I ended up doing massive changes to the file), but that was indeed a big bug on my part.

    thanks for...
  9. Replies
    0
    Views
    701

    Finding web container version?

    Is there anyway to find what the name and version of the web container your war file is in?
  10. Replies
    1
    Views
    1,125

    Interesting... So working with this today is...

    Interesting...

    So working with this today is there any reason why


    <%= request.getUserPrincipal() %>


    would work, but trying the following :
  11. Replies
    1
    Views
    1,125

    logic taglib replacement?

    Coming from a struts app, I'm in need of a replacement for the logic tablib that is available in struts. In my setup (spring2.5/tiles2), I can't seem to find a decent replacement in finding out if a...
  12. Replies
    2
    Views
    928

    OK, not to seem like I'm having a conversation...

    OK, not to seem like I'm having a conversation with myself..


    but yeah, I was thinking of it too "spring oriented". The problem was my mapping to the servlet (url mapping of '/') which was...
  13. Replies
    2
    Views
    928

    When I try to directly go to the image, i get a :...

    When I try to directly go to the image, i get a :

    Jul 18, 2008 3:17:41 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
    WARNING: No mapping found for HTTP request with URI...
  14. Replies
    2
    Views
    928

    images fail to show in spring2.5/tiles2

    [SOLVED]


    This seems like a ridiculous question to ask but is there a reason why my images do not show up?

    Setup: Spring 2.5, Tiles2
    Directory setup:
    app/
    app/img
    app/WEB-INF/
  15. Replies
    12
    Views
    1,824

    Please post the solution if you can! :)

    Please post the solution if you can! :)
  16. Replies
    4
    Views
    4,922

    the tiles-def.xml file? It is there, and it's...

    the tiles-def.xml file?

    It is there, and it's pretty simple...



    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD...
  17. Replies
    4
    Views
    4,922

    tiles2 fails to initialize

    I know this is a general question, but does anyone know of a clear tutorial on how to set up a Spring2.5 / tiles2 setup?

    my problem, I try to deploy my war file and when it gets to initilizing the...
Results 1 to 17 of 18