Yes I already did what you suggested but it's not really elegant to have to add a Tasklet to make the decision.
Giving the Decider a scope of "step" would definitely be a good idea. But maybe an...
Type: Posts; User: nedge; Keyword(s):
Yes I already did what you suggested but it's not really elegant to have to add a Tasklet to make the decision.
Giving the Decider a scope of "step" would definitely be a good idea. But maybe an...
I have a job with e.g. steps 1 to 10 in a sequnetial execution.
Based on a JobParameter (mmExport=true) enterd on the command line I want to either execute all the steps or END after e.g step 6....
Yes, I was able to use Eclipse's Quick Fix to ignore the problem but there must be a better solution to this in the future.
Thanks for the help!
I gave up and downloaded 2.9.0 and ran into a different problem
Description Resource Path Location Type
maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by...
when I try to update no matter what options I try I always get a conflict e.g. just using Eclipse SDK 3.7.2.... I get:
Cannot complete the install because of a conflicting dependency.
Software...
1. What version of STS did you start with? (ie- what version did you originally download)
Looking at the installation history the first entry is
SpringSource Tool...
Also just after upgrading to STS 2.9.0 today and I get the same problem as outlined above.
I disabled AspectJ for the time being and the problem disappears.
I'm using AspectJ 1.6.12 (I think this...
I'm trying to pass an ISODateTimeFormat param e.g. 2012-02-21T00:00:00.000+01:00 in a REST GET request using the RestTemplate
The URL looks something like this ...
I want to use a datetime as parameter e.g. 2011-05-24T00:00:00.000+02:00
e.g. .....?start=2011-05-24T00:00:00.000+02:00&end2011-05-25T00:00:00.000+02:00
Using curl I need to escape the "+" using...
I found a solution....
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
works instead of using
response.sendError(HttpServletResponse.SC_NOT_FOUND, "Not Found");
I'm successfully using Spring MVC to implement my RESTful web services but I have one issues which I'm not quite sure how to solve.
If I want to return an an error e.g. 404 to the client I can...
I have the same issue - this looks like a bug to me!
Switching to using XML config fixed it for me - maybe it has to do with running in as a WebApp - I see in other threads something about various...
the package-info.class (generated by JAXB) was being excluded in the mvn build (issue compiling it on Windows ). My test worked because I wasn't passing any params to the server).
The...
I have a weird problem when deploying to Tomcat:
My WS-Clent works when I run my mvn test cases and when running in a web app in eclipse (using Tomcat). However, when I deploy to Tomcat 6.0.20 (also...
I added it to JIRA
http://jira.springframework.org/browse/SPR-6718
I found that you have to immediately set the property after construction.
DataBinder dataBinder = new DataBinder(model, modelName);
dataBinder.setAutoGrowNestedPaths(false);
You even have to...
Spring 3.0.0. introduced the property autoGrowNestedPaths to allow a data binder to automatically create nested objects that are not yet there.
However, calling:
...
Hi,
I'm using POI's HSSFListener to read in an Excel file (sort of like SAX for Excel ) and it works fine. Now, I'm trying to figure out a way of integrating this with Spring Batch - I basically...
I've run into the same issue with .Net based WS
I was trying to use JAXB2 to do the unmarshalling but I think I can forget that.
I looks like I have two choices:
1) try to parse the response and...
sorry not really - I have no idea of PHP but is the line "${param.error != null}" correct?
should it not be:
"${param.error} != null"
<c:if test="${param.error != null}">
seems param.error is null - so who should be setting this in the case of an invalid login?
Ok I sort of got it to work
1) I need to explicitly add the Authentication object to the context
SecurityContextHolder.getContext().setAuthentication(authentication);
(is there a better...
I'm trying to port an Acegi config to the Spring Security Namespace configuration but I'm missing something in my configuration. All I want to do is login at /login (Echo app that authenticates) and...
I'm using the Security Namespace Configuration to configure my app's security. Everything works fine and I can authenticate users against the DB - here is my config:
<authentication-provider...
If you are using a user that is not the owner of the object e.g. Table then you have to qualify it in Oracle. You can use synonyms but I can't change the DB due to not having sufficient privileges.
...