Search:

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

Search: Search took 0.02 seconds.

  1. HibernateStatistics available just for entity which implements UserDetails

    When I check hibernate statistics service in jconsole for my Spring MVC application I only have statistics for one entity that implements UserDetails and when I run queries for other entities nothing...
  2. Replies
    3
    Views
    1,268

    Solved

    I solved the problem
    In case anyone needs this, create package for example com.company.images and put your images there.
    Then get your image with


    URL imageUrl =...
  3. Replies
    3
    Views
    1,268

    Yes, I'm using iText for PDF and that part is...

    Yes, I'm using iText for PDF and that part is fine.

    My image is in folder webapp/resources/img/logo.png of my MVC application.

    I could use absolute url like you suggested but I want to use...
  4. Replies
    3
    Views
    1,268

    Loading image in MVC class

    Hello,

    I have Spring MVC application and I'm creating PDF view which I did successfully.

    Now I want to add picture to my PDF view and from one of my class I tried



    Image...
  5. Replies
    4
    Views
    873

    I tried to use Atomikos but I'm having problems...

    I tried to use Atomikos but I'm having problems to make it work.

    Can you propose any other solution with Spring and Tomcat?

    Link to some example would be very usefull.

    Thanks in advance.
  6. Replies
    4
    Views
    873

    My app is running on tomcat 6.0. Should I use...

    My app is running on tomcat 6.0.
    Should I use Atomikos to get JTA support?
  7. Replies
    4
    Views
    873

    JdbcTemplate transaction on 2 datasource

    Hello,

    I have 2 database and want to do update on both or none at all.

    I tried using transactions but my code throws


    java.lang.IllegalStateException: Cannot deactivate transaction...
  8. Replies
    2
    Views
    2,214

    Thanks Marten I changed Business bc =...

    Thanks Marten

    I changed


    Business bc = context.getBean(BusinessImpl.class);

    to
  9. Replies
    2
    Views
    2,214

    AOP component scan problem

    Hi,

    I'm trying to add simple aspect but have problem when using @Service and component scan instead of defining bean in xml.
    I get
    ...
Results 1 to 9 of 9