Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    598

    I finally got a chance to try and create a small...

    I finally got a chance to try and create a small project to duplicate the issue.

    I'm using a vanilla STS 3.0 install. Java 1.6. And the IvyDe plugin.
    I created the project using the Dynamic Web...
  2. Replies
    4
    Views
    598

    I knew this would come up. :-) The directory...

    I knew this would come up. :-)

    The directory structure is
    src
    com/domain/blah/blah
    resources/etc/etc

    Yes, it probably would have made more sense to use...
  3. Replies
    39
    Views
    4,964

    The problem went away but I'm not sure what I did...

    The problem went away but I'm not sure what I did in the end that fixed it. Might have been updating perms on all the folders, but at this point I've completely re-installed STS and tcServer. Now...
  4. Replies
    4
    Views
    598

    Deployment Assembly going haywire

    First, this was all working a few days ago and then poof it stopped working. The only thing I did in the middle was an svn update and my sts settings are not in svn.

    That said, whenever I...
  5. Replies
    39
    Views
    4,964

    I'm having the same issue. Has anyone found a...

    I'm having the same issue. Has anyone found a solution?
  6. I have neither. I never seen any mention of this...

    I have neither. I never seen any mention of this requirement in the documentation. I'll try it out, but can you explain why it's necessary?

    Thanks, Marten.
  7. Replies
    2
    Views
    1,267

    You seem to be mixing paradigms here. If you...

    You seem to be mixing paradigms here.

    If you pass in the variable in the model via addAttribute()
    it should be available in your jsp e.g.


    <div>page = ${page}</div>


    It doesn't make sense...
  8. @vw729: Switching the order has no effect. ...

    @vw729: Switching the order has no effect.

    @Marten:

    The issue is that without the @ModelAttribute, Post form submissions are mapped (handled) by the method. With the @ModelAttribute, the Post...
  9. Why does @ModelAttribute change the handler mapping?

    Hi all.

    I didn't think ModelAttribute was supposed to have any influence on the handler mappings, but where this method maps just fine:



    @RequestMapping(method=RequestMethod.POST)...
  10. Replies
    1
    Views
    537

    Path variables are Spring 3 only

    Path variables are Spring 3 only
  11. Replies
    2
    Views
    1,273

    I haven't tried it myself, but I'm assuming it...

    I haven't tried it myself, but I'm assuming it would be something like this:

    ${sessionScope.myVariable}
    Or you could put it directly in your ModelMap I suppose.
  12. Controllers, JdkDynamicAopProxy and getClass()

    I have an interceptor that gets (or tries to) the package name of controller.



    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws...
  13. Replies
    1
    Views
    731

    @Before conflicts with @Transactional?

    Hi.

    I'm trying to create an interceptor on my DAOs that will set some audit info in the database just prior to executing an insert or update.

    I'm trying to do this with a method annotated with...
  14. Dude, do a little leg work. ...

    Dude, do a little leg work.


    model.addAttribute("profile", new Profile());
  15. I'm assuming name is a member of the Profile...

    I'm assuming name is a member of the Profile object, so change the path from 'name' to 'profile.name'.
  16. Because the checked attribute is set...

    Because the checked attribute is set automatically based on the value.

    If the bound value matches the supplied 'value' attribute, then it's checked. Otherwise it isn't.
  17. Replies
    6
    Views
    1,197

    The Model is a Map. Add both objects to it and...

    The Model is a Map. Add both objects to it and access via key.


    ModelMap mm = new ModelMap();
    mm.add("profile",new Profile());
    mm.add("perms",permsObj);
    ...
  18. Subclass of AbstractHtmlElementTag treated as SimpleTag

    Never mind. My jBoss work directory just needed to be deleted.
  19. TFGI: spring 2.5 form tag or use this link ...

    TFGI: spring 2.5 form tag

    or use this link

    Appendix E
  20. Solved for read-only

    I ran into this same issue for a read-only stored proc and solved it simply with the @Transactionl annotation:


    @Transactional(readOnly = true, propagation=Propagation.NOT_SUPPORTED)

    I got the...
  21. Ok. That clears that up. Thanks again, Marten!

    Ok. That clears that up. Thanks again, Marten!
  22. Thanks Marten, That got me past that error. ...

    Thanks Marten,

    That got me past that error. So now I'm getting the "No Hibernate Session bound to thread' error, which seems to have a solution in this thread.

    But I have a question. Is the...
  23. Annotation based Plain Hibernate DAOs. Help!

    So I'm trying to set up some simple DAOs according to section 12.2.5 of the spring docs, and I keep getting this "No TransactionManagerLookup specified" exception. It seems to happen because the...
  24. Replies
    4
    Views
    1,629

    Thanks, 'lemming. I managed to figure it out on ...

    Thanks, 'lemming. I managed to figure it out on my own and came away with essentially the same solution as you.

    Though i used Spring's AutoPopulatingList instead of LazyList. (notice the...
  25. Replies
    4
    Views
    1,629

    Did you ever figure this out? I'm trying to do...

    Did you ever figure this out? I'm trying to do the same kind of thing.
Results 1 to 25 of 33
Page 1 of 2 1 2