Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Injecting system properties into form-login

    Hi all

    I have a requirement where the various attributes of the form-login element need to come from system properties

    eg

    <form-login login-page='${myapp.login.loginpage}'...
  2. I'm not sure if it matters, but my JSP viewing...

    I'm not sure if it matters, but my JSP viewing bean is declared a little differently to yours



    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property...
  3. Replies
    2
    Views
    4,706

    thanks. i was having trouble trying to work this...

    thanks. i was having trouble trying to work this one out until i stumbled upon this thread
  4. Replies
    2
    Views
    839

    Thanks. I'm assuming I'll need to extend...

    Thanks.

    I'm assuming I'll need to extend AbstractView and use a 3rd party library for Word doc generation.

    I figured this was a reasonably common requirement in applications, so wanted to find...
  5. Replies
    2
    Views
    839

    Generating MS Word documents

    Hi all

    I've used Spring's handy AbstractExcelView class in the past to generate MS Excel spreadsheet output from my web app.

    Is there a similar way to generate output as an MS Word document?
  6. Replies
    2
    Views
    1,043

    Thanks for that

    Thanks for that
  7. Replies
    2
    Views
    1,043

    Recommended reading

    Hi all

    I'm a reasonably experienced Spring developer and have done a couple of quickstart grails tutorials online.

    Can anyone recommend a book or site that might best help me get up to speed...
  8. Replies
    7
    Views
    16,764

    I had this problem too. Adding...

    I had this problem too.

    Adding spring-modules-cache.jar to WEB-INF/lib fixed it.
  9. Replies
    2
    Views
    2,498

    It has been a while, but I thought I'd post how...

    It has been a while, but I thought I'd post how to get mysql stored procs to run via a read-only connection

    1. you need at least mysql-connector-java-5.1.7-bin.jar
    2. you need to add READS SQL...
  10. Replies
    1
    Views
    1,083

    Hmm, always happens. Immediately after posting...

    Hmm, always happens.

    Immediately after posting I stumbled upon SwitchUserProcessingFilter.

    I'm guessing this can pretty much help me implement 'user switching'?
  11. Replies
    1
    Views
    1,083

    Admin user login as someone else

    Hi all

    I'd like to setup a 'login as' feature in my application.

    I have a few users who help with administration and support. I'd like them to be able to login as a different user without...
  12. Replies
    14
    Views
    17,691

    I'm not sure if it would make any sense, but my...

    I'm not sure if it would make any sense, but my first instinct would be to add a sessionTimeoutUrl property to AuthenticationProcessingFilter
  13. Replies
    14
    Views
    17,691

    If someone can point me in the right direction...

    If someone can point me in the right direction that would be great.

    Essentially, I'm trying to determine the difference between
    1. when the user tries to access a secured resource and hasnt...
  14. Replies
    14
    Views
    17,691

    custom login messages when session expires

    Hi all

    When acegi redirects a user to the login page upon httpsession expiry, i'd like to display a 'session expired' message, so they know why they are now at the login page

    is there a point...
  15. When binding to a domain object as a whole,...

    When binding to a domain object as a whole, rather than by individual properties within the domain object, you need to tell Spring how to to do the binding, since Spring is actually binding directly...
  16. Replies
    2
    Views
    2,498

    MySQL procs and read-only transactions

    Hi all

    I'm using Spring 2.0, Hibernate 3.1 and MySQL 5.1

    I have read-only transactions setup for any get* methods in my service package

    eg


    <tx:advice id="transactionAdvice"...
  17. Replies
    4
    Views
    1,489

    after a bit more digging, i found a solution...

    after a bit more digging, i found a solution here. seems to work OK in IE and Firefox

    http://forum.springframework.org/showthread.php?t=36568&highlight=form%3Aform+attribute
  18. Replies
    4
    Views
    1,489

    I'm having a similar issue i want the result...

    I'm having a similar issue

    i want the result of a form post (an excel spreadsheet representing report results) to open in a new window

    usually my form looks something like

    <form...
  19. Replies
    3
    Views
    868

    How do others do this in a maintainable way? ...

    How do others do this in a maintainable way?

    Is there perhaps a technique to control/modify error message display other than wrapping


    <c:forEach items="${status.errorMessages}"...
  20. Replies
    3
    Views
    868

    I'll give that a try. thanks

    I'll give that a try. thanks
  21. Replies
    3
    Views
    868

    changing the look of all error messages

    Hi all

    I have a spring 1.2 app that has a couple of hundred bits of HTML very similar to the following



    <spring:bind path="obj.formDate">
    <input type="text" name="<c:out...
  22. Replies
    7
    Views
    1,844

    My understanding is that you are not allowed to...

    My understanding is that you are not allowed to set the value property for file text inputs, and that browsers ignore any value you do specify.

    I guess its security related, otherwise a webpage...
  23. Replies
    13
    Views
    4,497

    Yep, sure did. I'd been struggling with this one...

    Yep, sure did. I'd been struggling with this one for a while until I added the (ref) text.
  24. http://forum.springframework.org/showpost.php?p=53...

    http://forum.springframework.org/showpost.php?p=53610&postcount=7

    Found a post that explains it all quite well.
  25. I'm having the same problems For example, if I...

    I'm having the same problems

    For example, if I leave a required field blank, validation fails (which is fine). I then call showForm()

    However, hibernate tries to persist my command object to...
Results 1 to 25 of 61
Page 1 of 3 1 2 3