Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Thread: Data encoding

    by lnader
    Replies
    8
    Views
    1,855

    BTW< I am using spring 3.0.4

    BTW< I am using spring 3.0.4
  2. Thread: Data encoding

    by lnader
    Replies
    8
    Views
    1,855

    Still having problems with RestTemplate, FormHttpMessageConverter and UTF8 chars

    Has anyone been able to solve the encoding problem? I have done what was suggested and set the character encoding to UTF-8

    FormHttpMessageConverter c = new FormHttpMessageConverter();
    ...
  3. How can I send ACCEPTED response prior to method completion in Controller

    I would like to give the consumers of my REST API the option of not waiting for the job to complete by specifying blocking=false. In which case I would send back an ACCEPTED(202) response and...
  4. Code sample for Posts with request headers

    For those who are still looking for how to do this...

    HttpHeaders requestHeaders = new HttpHeaders();
    requestHeaders.set("Authorization", "Basic "
    +...
  5. Did anyone figure out how to do this?

    Did anyone figure out how to do this?
  6. Replies
    6
    Views
    1,153

    Here's my enviroment in more detail. I have...

    Here's my enviroment in more detail. I have business services that being used by local classes running inside the same JVM AND by remote consumers. I need to include a version number (as an...
  7. Replies
    6
    Views
    1,153

    I should have mentioned this. The "some"...

    I should have mentioned this. The "some" consumers are RPCs through flex and blazeDS.
  8. Replies
    6
    Views
    1,153

    Changing method signature through AOP

    Is it possible to change a methods signature (add an optional argument) using AOP. I need to wrap by service methods in an advice that requires an additional argument that is not required by the...
  9. I was bale to fix the problem by overiding ...

    I was bale to fix the problem by overiding

    public void processPropertyAccessException(PropertyAccessExcep tion ex,
    BindResult errors)

    instead of

    public void...
  10. After upgrading to spring 2.0 my custom BindingErrorProcessor does not work.

    I have creates a custom BindingErrorProcessor to provide better error message as below

    public class TimestockBindingErrorProcessor extends DefaultBindingErrorProcessor
    implements...
  11. Yes. Thanks

    Yes. Thanks
  12. AOP not working if method is called within another method inside the same class

    I have a class that has 2 methods as show below:

    public void doSomething(Object object)
    {
    //execute some code here
    this.update(object);
    //execute some code here
    }
    ...
  13. Replies
    3
    Views
    3,757

    I am having the same probelem

    The link provide no longer contains the info. Has anyone founf a fix for this problem?
  14. Replies
    1
    Views
    1,121

    Using Acegi Security without cookies

    We are deploying our app at a customer site that do not support cookies. Their browser's are configured not to send the cookie and also their proxy servers rip out cookies from the http request...
  15. Implementing an Interface causes a TypeMismatchException

    I have defined the following wiring for my bean and everything worked. Then I changed the OperatorManager class to implement the org.acegisecurity.userdetails.UserDetailsService interface so I could...
  16. Replies
    1
    Views
    1,137

    Spring MVC and AuthenticationProcessingFilter

    I am using SpringMVC and I could not get the AuthenticationProcessingFilter working as is suggested in the example because the acegilogin.jsp in not reachable. So I created my own login page backed...
  17. Replies
    3
    Views
    1,164

    Thanks. That fixed the other excpetion and now I...

    Thanks. That fixed the other excpetion and now I get the following exception.

    2005-08-25 10:53:07,231 ERROR [org.hibernate.LazyInitializationException] - <could not initialize proxy - the owning...
  18. Replies
    3
    Views
    1,164

    JUnit TestCase throws an Exception

    I am trying to write a TestCase for singleton bean. But when it tries ro loat the appContext it throws an exception.

    org.springframework.beans.factory.BeanCreationException: Error creating bean...
  19. newbie question - Servlets and singleton beans

    I am new to servlets and spring. I have 2 apps that are talking with each other using http request/request. App1 is C++ legacy app and App2 is developed using spring. In my App2 I have a servlet...
  20. Replies
    1
    Views
    750

    Cannot get BasicProcessingFilter to work

    I have tried implement a BasicProcessingFilter for my webApp. But it doesn't seem to do anything. Am I missing something?

    I have added the following to my web.xml

    <filter>
    ...
  21. Replies
    0
    Views
    807

    possible bug in BeanValidator

    I am using the apache commons validator with spring MVC.

    <bean id="commonValidator" class="org.springframework.validation.commons.BeanValidator">
    <property name="validatorFactory"><ref...
  22. I was able to get around this problem by...

    I was able to get around this problem by specifying an "action" attribute for my form that does not include the querystring parameters <form action="/path/file.html">. So now the request object...
  23. Unless I am missing something. As far as I know...

    Unless I am missing something. As far as I know overriding isFormSubmission is not going to work.

    1) isFormSubmission does not take a (Object command) argument so I cannot do the binding myself...
  24. I don't think overriding isFormSubmission will...

    I don't think overriding isFormSubmission will help me. Because my POST request IS a form submission and I still want to bind the form values to my command but not the query string parameters. ...
  25. Is there a way to prevent querystring parameter binding to

    the command object on POST requests?
Results 1 to 25 of 48
Page 1 of 2 1 2