Search:

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

Search: Search took 0.01 seconds.

  1. reference session attribute in spring context

    I need to set http session attribute as a value of spring bean's property, how can I do that ?

    something like:

    <bean name="something" ??????/> <!-- it should point to the session attribute -->...
  2. Replies
    2
    Views
    1,336

    receiving messages twice if transacted

    .............
  3. ok, here is debug output: 07 Dez 2006...

    ok, here is debug output:

    07 Dez 2006 15:44:03.862 [INFO] [main] [org.springframework.core.CollectionFactory] - JDK 1.4+ collections available
    07 Dez 2006 15:44:03.877 [INFO] [main]...
  4. costin, it works also without registering.. ...

    costin, it works also without registering..

    public class Holder {
    private String[] stringArray;
    public String[] getStringArray() {
    return this.stringArray;
    }
    public...
  5. yes,exactly I need to do that .. with property...

    yes,exactly I need to do that ..
    with property editor is it good idea, thanks.
  6. value list defined as property (properties)

    I have to define list of values (in my case list of mail recipients) as java properties.
    There are two possibilities:
    1. define single property with recipients separated by comma

    mail.recipients...
  7. Replies
    7
    Views
    5,347

    I tried to implement this example using...

    I tried to implement this example using approaches you mentioned - declarative and template style transaction, but error still remains.
    When I switch to no-transaction handling error does not occurs.
  8. Replies
    7
    Views
    5,347

    2006-06-23 08:31:17,281 DEBUG...

    2006-06-23 08:31:17,281 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] Using transaction object [org.springframework.transaction.jta.JtaTransactionObject@1609872]
    2006-06-23...
  9. Replies
    7
    Views
    5,347

    ok, here is my configuration (which you didn't...

    ok, here is my configuration (which you didn't see, but is wrong:):

    <jee:jndi-lookup id="sessionFactory" jndi-name="java:/hibernate/SessionFactory"/>

    <bean id="transactionManager"...
  10. Replies
    7
    Views
    5,347

    please show me exactly which part of...

    please show me exactly which part of configuration is wrong...

    answer "use another approach" is not a good answer to my question - why this approach does not work..
    exception handling is not...
  11. Replies
    7
    Views
    5,347

    Session is closed

    I have following problem:

    Dao method:

    public Long createAndStorePerson(String firstname, String lastname, int age) {
    Person p = new Person();
    p.setFirstname(firstname);
    ...
  12. Replies
    0
    Views
    607

    No adapter for handler

    Following error occured when I tried to start simple example:

    web.xml
    <servlet>
    <servlet-name>myone</servlet-name>
    <servlet-class>
    org.springframework.web.servlet.DispatcherServlet...
  13. Replies
    8
    Views
    3,077

    thank you very much for your help, I'll try...

    thank you very much for your help, I'll try custom build today evening
  14. Replies
    8
    Views
    3,077

    is there any possibility to download version of...

    is there any possibility to download version of wanghy-cache which is compatible with 1.2 spring ?
  15. usage of tiles from struts 1.2 without struts

    Is there ant way how to use newest version of Tiles (from Struts 1.2) without loading full Stuts stuff - similar to the Tiles 1.1 using TilesServlet ?

    In the Struts 1.2 TilesServlet class is...
  16. now, it works. I defined bean pluginManager in...

    now, it works.

    I defined bean pluginManager in the core part, then I defined bean factory postprocessor, which call method:

    BeanFactoryUtils.beansOfTypeIncludingAncestors&#40;factory,...
  17. control over registered plugins will be only via...

    control over registered plugins will be only via appcontext config-file entry in the web.xml file - each plugin will define its own appcontext config file
  18. I found class BeanFactoryUtils which contains...

    I found class BeanFactoryUtils which contains beansOfTypeIncludingAncestors() method. Maybe this will help.
  19. Problem with your approach is, that in your...

    Problem with your approach is, that in your example you directly defined beans references, names and amount of beans. But if you want to extend application to the new plugin, you must edit the file...
  20. locate subclasses of abstract class/interface

    I have following problem:
    I need to split application into two parts:
    core part and plugin parts, which will define plugin dependent parts of core objects. Core object should not reference any...
  21. read forum on the www.hibernate.org section...

    read forum on the www.hibernate.org section Hibernate3
    Hibernate 3, in opposite to the second version, uses lazy
    loading by default.
    Change either mapping to the lazy="false" or use...
Results 1 to 21 of 23