BTW< I am using spring 3.0.4
Type: Posts; User: lnader; Keyword(s):
BTW< I am using spring 3.0.4
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();
...
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...
For those who are still looking for how to do this...
HttpHeaders requestHeaders = new HttpHeaders();
requestHeaders.set("Authorization", "Basic "
+...
Did anyone figure out how to do this?
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...
I should have mentioned this. The "some" consumers are RPCs through flex and blazeDS.
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...
I was bale to fix the problem by overiding
public void processPropertyAccessException(PropertyAccessExcep tion ex,
BindResult errors)
instead of
public void...
I have creates a custom BindingErrorProcessor to provide better error message as below
public class TimestockBindingErrorProcessor extends DefaultBindingErrorProcessor
implements...
Yes. Thanks
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
}
...
The link provide no longer contains the info. Has anyone founf a fix for this problem?
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...
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...
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...
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...
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...
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...
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>
...
I am using the apache commons validator with spring MVC.
<bean id="commonValidator" class="org.springframework.validation.commons.BeanValidator">
<property name="validatorFactory"><ref...
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...
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...
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. ...
the command object on POST requests?