Search:

Type: Posts; User: lil-dice; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    1,974

    And more: web.xml

    And more:
    web.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  2. Replies
    8
    Views
    1,974

    Here are my config files for OC4J, hopefully this...

    Here are my config files for OC4J, hopefully this helps.

    application-context.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <beans
    xmlns="http://www.springframework.org/schema/beans"...
  3. Replies
    8
    Views
    1,974

    We are running mvc 2.5 with OC4J 10.1.3.5, so I...

    We are running mvc 2.5 with OC4J 10.1.3.5, so I can tell you it can be done.
  4. Replies
    4
    Views
    3,152

    Sounds like your jar's are mixed up. It's not...

    Sounds like your jar's are mixed up. It's not finding methods it expects to, check to see which toplink.jar your app is actually using.
  5. You've got the most of them, but the one I like...

    You've got the most of them, but the one I like is you're not married to Hibernate.

    EclipseLink (formerally TopLink) has made great strides and the EclipseLink specific features will be integrated...
  6. Thanks, was just about to post that I figured it...

    Thanks, was just about to post that I figured it out.

    I'm using annotation based controller @MVC, so I just added it to my ControllerClassNameHandlerMapping and works fine.
  7. Best place to intercept headers on all requests?

    What's the best way to read HTTP headers for every request and either accept or redirect the response?

    I have a Spring MVC application that needs to integrate into an existing Single Sign on Auth...
  8. Replies
    2
    Views
    918

    Just one page back on the forum you'll see...

    Just one page back on the forum you'll see someone posted a link to a jasper tutorial: http://java.dzone.com/articles/spring-web-mvc-spring-web-flow
  9. Depends on what data layer you're using. It's...

    Depends on what data layer you're using. It's certainly possible though.
  10. FYI, I wrote a blog post explaining this process...

    FYI, I wrote a blog post explaining this process of reusing annotations in more detail: http://www.weheartcode.com/2008/10/16/reusing-annotation-based-controllers-in-spring-mvc/
  11. Replies
    1
    Views
    2,079

    This means you're not defining your datasource...

    This means you're not defining your datasource properly. Either a bad connection string, or it's pulling an empty one from JNDI...
  12. I've solved my own problem, I'll post the...

    I've solved my own problem, I'll post the solution here in order to help others:

    This example relies on RequestMapping being done via controller name, the same with views.



    @Controller...
  13. No ideas? Maybe since I'm new to Spring I'm going...

    No ideas? Maybe since I'm new to Spring I'm going about this the "non-spring" way. I can't be the only one who wants to re-use a controller AND use annotations though....
  14. Reusing Annotation Based Controllers! Possible?

    I want to use annotation based controllers through out my Spring MVC application but am struggling on how to go about re-using them due to dynamic values that are passed to annotations and...
  15. Templated Abstract Controller -- Possible?

    I want to make a generic CRUD controller that works with MVC Annotations.

    I've got a basic controller that works, the only thing I really need to do to make it generic would be to make it...
  16. Anyone? Someone must have a favorite way they do...

    Anyone? Someone must have a favorite way they do it....
  17. Simplest Way to Update a Record from a Form? (JPA)

    This is kind of a stupid question. But I'm using JPA and I want to write as little code as possible.

    Previously I had used JPA in a J2SE environment (SWT/RCP). So when I wanted to do an update on...
  18. I fixed this by switching to OC4J and setting up...

    I fixed this by switching to OC4J and setting up my DAO to extend JpaDaoSupport and used the Autowired annotation to inject an entitymanagerfactory.
  19. Thank You! I was finally able to get this to...

    Thank You!

    I was finally able to get this to work (after switching to OC4J 10.1.3.4). Can you reccommend any articles as to where you stumbled upon this approach? I have been having a hard time...
  20. Is Anyone using: Spring 2.5 + Eclipselink JPA + Tomcat 6?

    If so, how exactly?

    Are you able to use the PersistenceContext annotation for injection of the EM? Are you using LTW??

    I'd just like to confirm I'm not barking up the wrong tree here.
  21. So I'm trying some more stuff, I called em.isOpen...

    So I'm trying some more stuff, I called em.isOpen before and it returns true.

    I can't get my friggin AspectJ Weaver to output anything even though I
    have an aop.xml like this:


    <aspectj>
    ...
  22. JPA - Attempting to execute an operation on a closed EntityManager.

    I'm hoping some Spring gurus can help me out, whenever I try to
    execute a query I get the error: Attempting to execute an operation on
    a closed EntityManager.

    I'm using EclipseLink + Spring 2.5...
Results 1 to 22 of 22