Search:

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

Page 1 of 14 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,705

    Thanks, Mark! :]

    Thanks, Mark! :]
  2. Replies
    10
    Views
    18,777

    I think this kind of fine-grained access control...

    I think this kind of fine-grained access control should be possible with a custom AccessDecisionManager.
  3. Replies
    8
    Views
    2,057

    Ah, I see now. Thanks for the clarification. ...

    Ah, I see now. Thanks for the clarification. That does indeed sound tricky. I would need to dig into the source code to see how the @RequestMapping registry works and see if I could figure out a...
  4. Replies
    8
    Views
    2,057

    Here...

    Here is a functional example which shows what I mean.
  5. Replies
    10
    Views
    2,227

    I've never used the container initialization...

    I've never used the container initialization script either. I'll tinker around with it and see if I can get it to do anything useful.
  6. Replies
    8
    Views
    2,057

    Maybe I misunderstood your use case. Here's an...

    Maybe I misunderstood your use case. Here's an example of what I mean:


    @Controller
    public class MyController {

    @Autowired
    private MyObject myObject;

    ...
  7. Replies
    0
    Views
    507

    Web Flow without the Web

    Is it feasible to use the workflow engine from Spring Web Flow without any of the Web-related infrastructure? Specifically, I want to consume Spring Web Flow from my code without having to touch any...
  8. Replies
    10
    Views
    2,227

    I like it! It's simple, clean, and repeatable. ...

    I like it! It's simple, clean, and repeatable. Thanks for posting.
  9. I've seen documentation issues in the past, but I...

    I've seen documentation issues in the past, but I don't think it's wrong in this case. Does the documentation give an example of the problematic pointcut expression?
  10. Replies
    10
    Views
    2,227

    Thanks, I'm curious to see how you do it. It's...

    Thanks, I'm curious to see how you do it. It's one of the most common requests on the Spring JIRA, hence its inclusion into Spring 3.1.
  11. Replies
    8
    Views
    2,057

    Since the container manages the scope of the...

    Since the container manages the scope of the object (with a request-based ThreadLocal if I remember correctly), I don't see why it wouldn't work.

    Would it not be as simple as creating a request...
  12. Replies
    10
    Views
    2,227

    Not knowing about the EC2 environment, that's a...

    Not knowing about the EC2 environment, that's a tough one. Maybe you could set some failsafe defaults, so when the dev-envrionment Tomcat properties are absent, your application will default to the...
  13. Replies
    10
    Views
    2,227

    There are many ways to do this, but none of them...

    There are many ways to do this, but none of them have been standardized quite yet (as of Spring 3.0). This is one of the highly anticipated features coming in Spring 3.1.
  14. Replies
    8
    Views
    2,057

    Have you considered request-scoped fields within...

    Have you considered request-scoped fields within your controllers? This way you could use the usual singleton controllers without recreating them on every request.
  15. Replies
    3
    Views
    633

    > java.lang.ClassNotFoundException:...

    > java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

    Looks like you're missing a dependency. Are you using Maven? If so, make sure you have the spring-web...
  16. > How can I wrap an array that is being submitted...

    > How can I wrap an array that is being submitted from a form which is not bound to any model attribute.In my case array is just a request paramter.

    If you simply declare the method parameter as a...
  17. Replies
    2
    Views
    649

    Can you post the entire stack trace?

    Can you post the entire stack trace?
  18. Thanks for the clarification. The reason you...

    Thanks for the clarification.

    The reason you must add execution is due to Spring AOP's pointcut expression support. Spring AOP only supports a certain subset of the pointcut expressions supported...
  19. This looks to be coming from...

    This looks to be coming from ByteArrayHttpMessageConverter, whose supported media types includes application/octet-stream. RestTemplate iterates over the message converter's supported media types,...
  20. Based on this thread...

    Based on this thread, You might have to wrap your array as a model attribute.

    Another approach would be to use:


    @RequestParam(value=TIME_IDS, required=false) String time_ids

    then call...
  21. Replies
    3
    Views
    1,705

    According to JIRA...

    According to JIRA, there isn't yet a release date for milestone 2, let alone a release candidate or GA.
  22. It's an SVN repository, not a CVS repository. ...

    It's an SVN repository, not a CVS repository. You can install subversive or subclipse into STS from the STS Dashboard. I don't have STS in front of me now, but if you get stuck just holler and I'll...
  23. 1)...

    1) @AfterReturning(pointcut="com.xyz.myapp.SystemArchitecture.dataAccessOperation()", returning="retVal")

    2) @AfterReturning(pointcut="execution(* "com.xyz.myapp.service.*.*(..))",...
  24. Likewise. :] Another tip; if you're using...

    Likewise. :]

    Another tip; if you're using SpringSource Tool Suite, when you edit a Spring XML file you'll see a tab at the bottom of the editor called Configure Namespaces. This lets you quickly...
  25. Replies
    3
    Views
    633

    Can you post the complete error/stack trace and...

    Can you post the complete error/stack trace and your configuration?
Results 1 to 25 of 341
Page 1 of 14 1 2 3 4