Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,357

    What if I want to display error details in the...

    What if I want to display error details in the view? Is it possible to pass a model to the error view using sendError?
  2. Thread: SVN Problems

    by wfcheang
    Replies
    5
    Views
    4,218

    I have the same problem.

    I have the same problem.
  3. Replies
    11
    Views
    2,343

    Never mind. The problem was not related to Acegi....

    Never mind. The problem was not related to Acegi. My bad. Thanks!
  4. Replies
    11
    Views
    2,343

    Job scheduling and Acegi Security

    Hello,

    I am trying to implement some job scheduling using Quartz in my application. My job is required to call some methods under my service objects. However, all of the method invocations of my...
  5. How to show file upload progress bar when using commons fileupload?

    I try to find a way to show file upload progress bar in my spring application. I am using commons fileupload and sometimes my users will upload 15mb files from China. Has anyone successfully done...
  6. Replies
    11
    Views
    2,554

    Hi Ben, I will submit a bug report on JIRA....

    Hi Ben,

    I will submit a bug report on JIRA. Thanks!

    Kenny
  7. Replies
    11
    Views
    2,554

    Here is what I found in ProviderManager.java from...

    Here is what I found in ProviderManager.java from the 0.9.0 source:



    public Authentication doAuthentication(Authentication authentication) throws AuthenticationException {
    ...
    try {
    ...
  8. Replies
    11
    Views
    2,554

    I have the same problem. Upgraded to 0.9 and...

    I have the same problem. Upgraded to 0.9 and concurrent session doesn't work any more. I tried everything: Added ConcurrentSessionFilter, SessionRegistry but still no luck.

    Kenny
  9. Incorrect AuthenticationCredentialsNotFoundEvent fired in 0.9.0

    In my application, I am listening to the AuthenticationSuccessEvent so that I can store the last successful login time and reset the failed login attempts. So I have a method called:


    ...
  10. Replies
    3
    Views
    1,184

    Rob, Just ignore my last post. I didn't think...

    Rob,

    Just ignore my last post. I didn't think at all when I read your reply. Stupid me!!!

    Thanks again!

    Kenny
  11. Replies
    3
    Views
    1,184

    Rob, Thanks for your reply. Unfortunately,...

    Rob,

    Thanks for your reply. Unfortunately, some of the message configurations (like To, Subject, and velocity template URL) require to be configured at runtime based on client's requests. These...
  12. Replies
    3
    Views
    1,184

    MimeMessagePreparator thread safe issue

    Please correct me if I am wrong. It seems to me that it is not possible to implement a thread safe MimeMessagePreparator. Because MimeMessagePreparator only has one method:


    public void...
  13. Thanks Rob. I just created a feature request.

    Thanks Rob. I just created a feature request.
  14. How to specify dynamic url for JasperReports views?

    Is it true that it is NOT possible to specify the url property of JasperReportsPdfView dynamically? My use cases require me to specify the JasperReports template (jrxml file) based on request...
  15. Replies
    1
    Views
    790

    Ok. I fixed the problem. I have to add the...

    Ok. I fixed the problem. I have to add the following servlet-mapping to web.xml.


    <servlet-mapping>
    <servlet-name>webapp</servlet-name>
    <url-pattern>*.pdf</url-pattern>
    </servlet-mapping>
  16. Replies
    1
    Views
    790

    Problem with url mappings

    I try to map PDF file extention to one of my controllers which will use JasperReports to generate PDF files dynamically. Here is my URL mappings:


    <bean id="urlMapping" ...
  17. Replies
    6
    Views
    10,663

    Hi Rob, I was trying to compile the report at...

    Hi Rob,

    I was trying to compile the report at runtime. Finally, I found out the problem.

    First, the compile error is due to the JRDefaultCompiler used by Spring. We have to provide a different...
  18. Replies
    6
    Views
    10,663

    Cannot compile JasperReports

    Hi,

    I am trying to use JasperReports 0.6.8 with Spring 1.2. I just can't get the JasperReport file compiled. The root cause of the exception is:


    C&#58;\eclipse\test2.java&#58;4&#58; package...
  19. Where to close JDBC ResultSet after running JasperReport

    I try to integrate Spring web framework with JasperReport. It seems all of code examples online for Spring+JasperReport use collection as the data source. I couldn't find any example which uses JDBC...
  20. Replies
    10
    Views
    5,399

    Same problem for me

    I am also having "ref bean not found" error in my spring configuration files.

    I am running springide 1.2 on eclipse 3.1M6 with spring 1.2.1. I created a config set but still getting the error.
    ...
  21. Thread: logout method

    by wfcheang
    Replies
    6
    Views
    2,678

    Just curious, why can't you just invalidate the...

    Just curious, why can't you just invalidate the session?
  22. Hi Ben, I changed it to ...

    Hi Ben,

    I changed it to


    /login.html*=ROLE_ANONYMOUS,ROLE_USER


    and everything is working prefectly.
  23. Problem when redirect to authentication failure URL

    I started to play with Acegi this weekend and made good progress. Everything is working very well until I tried to test login with wrong password.

    Here is my setup: Basically, I have only two...
Results 1 to 23 of 23