Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    1,219

    Re: How to integrate Tapestry4 with Spring1.2?

    how is exactly your problem? Does it give error page or what?[/quote]

    Hi enefem:

    After restart Tomcat,it throws another exception:


    An exception has occurred.
    You may continue by...
  2. Replies
    3
    Views
    1,219

    :(

    hi enefem:

    Sorry for my not past code here :)
    In the tapestry *.page ,the content is the following:



    <page-specification class="lyo.test.tapestry.Logon">

    <inject property="userDao"...
  3. Replies
    6
    Views
    1,621

    Re: :(

    see this URL:

    http://forum.springframework.org/showthread.php?t=17860[/quote]

    Hi enefem:

    Thank your url.But it don't work for me :( I use JDK1.4, Tapestry4-beta5+Spring 1.2.
    I...
  4. Replies
    3
    Views
    1,219

    How to integrate Tapestry4 with Spring1.2?

    Hi friends:

    I read this document http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring. But it don't work in Tapestry4-beta5 with Spring 1.2. :(
    I find that the spring document about...
  5. Replies
    6
    Views
    1,621

    :(

    Hi wchan:

    Your method work only in Tapestry3 not work in Tapestry4.
    I want to know how to inject spring bean to Tapestry4?Some good idea?Thks!
  6. Could I use XA Transaction with two datasource in Tomcat ?

    Hi friends:

    I want to know if I could use two DataSources with JTATransaction in Tomcat. I know that Tomcat is not a app server. But I see the spring document and it seems
    that...
  7. Re: Spring Portlet MVC

    Thank you .But I want to use Spring IOC only, not its MVC controller etc..
    Sometimes,IOC could be configed into framework config file,But I think Spring IOC need have to be used with Struts...
  8. :(

    Thank you Rob. But it seems that I need have to package it in the META-INF folder. Could I place it in the lyo-spring.jar/spring-context.xml ? I mean that I package in the jar but not in the...
  9. Could I package spring-context.xml in jar?

    Hi friends:

    I want to package the spring-context.xml in jar when I deploy my webapp. But it seems that Tomcat couldn't find the spring-context.xml in jar. In web.xml, I write in the...
  10. How to inject bean to Portlet?(use IOC in portlet)

    Hi everyone:

    I want to know if it is possible to use spring bean in a Portlet. Could I inject a interface(spring bean) to a Portlet? I mean that how to use IOC in a Portal environment? :(
  11. Replies
    3
    Views
    5,920

    :)

    It's a standard config. Thks! I will try it. ;-)
  12. Replies
    3
    Views
    5,920

    How to config c3p0 datasource in spring?

    Hi everyone:

    I use DBCP as my spring datasource before,but it seems that it has some bugs.So I want to change the datasource from DBCP to c3p0. I config the DBCP using the following code:

    ...
  13. Couldn't use StrutsTestCase in spring with Struts

    Hi friends:

    I want to Test Struts web application using StrutsTestCase. I use Spring and Hibernate as data access layer. My test Code is the following:


    public class StrutsLogonTest...
  14. Replies
    5
    Views
    8,768

    :)

    Thank you . Now I use this : http://struts.sourceforge.net/struts-spring/

    Because it is easy to test. :)
  15. Replies
    5
    Views
    8,768

    :)

    Hi ndloof:

    Thank you for your reply. Could you tell me how to config it using ContextloaderListener? Is there any user guide to do this? thks! :(
  16. Replies
    5
    Views
    8,768

    Best method of integration struts with spring?

    Hi everyone:

    I want to know how to integrate struts and spring. What's the best method for integration them? I don't want to do it using struts plugin. Because spring 1.2 can do it in its...
  17. :(

    Is it a checked exception? If so you'll need a rollback rule.


    No. This should work.[/quote]

    Sorry,the following is my code:


    public Object insertArticle&#40;Author author, Article article&#41;...
  18. Replies
    23
    Views
    22,550

    :(

    The valueList can do this? As I know,It seems that the valuelist fetch all data from database once ;-(

    To do this, I have to control the ResultSet myself and move the resultset cursor when I...
  19. config Hibernate transaction,Parent attribute don't work?!

    Hi everyone:

    I want to config a HibernateTransaction template,So I can use this template when I need transaction in my Bean. So I config the transaction template to this:


    <bean...
  20. use HibernateInterceptor other than TransactionInterceptor!

    Hi everyone:

    I want to make the following code in the Transaction:


    public Object insertArticle&#40;Author author, Article article&#41; throws DataAccessException &#123;
    // TODO...
  21. Replies
    7
    Views
    72,647

    :(

    There is an problem. I write this code in API:


    Properties p = new Properties&#40;&#41;;
    p.setProperty&#40;"java.naming.factory.initial",
    "org.jnp.interfaces.NamingContextFactory"&#41;;...
  22. It seems that jakarta common BeanUtils will be...

    It seems that jakarta common BeanUtils will be better. ;-( I don't need have to do type conversion if I use common BeanUtils.
    Thank you! :wink:
  23. Can't copy properties!Target must be an instance of source?!

    Hi everyone:

    I want to copy properties from one javabean to another.But I get an exception:
    Target must be an instance of source

    I want to copy Forum.class to Title.class

    My code is:
  24. Replies
    7
    Views
    72,647

    :)

    Thank you. I will try the JndiTemplate. ;-)
  25. Replies
    7
    Views
    72,647

    How to create a jndi using spring datasource?

    Hi everyone:

    I have not config datasource jndi in my server. But I want to use jndi to lookup datasource in jsp. I have spring config the following:


    <bean id="MyDataSource"...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4