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...
Type: Posts; User: liren; Keyword(s):
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...
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"...
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...
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...
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!
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...
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...
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...
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...
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? :(
It's a standard config. Thks! I will try it. ;-)
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:
...
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...
Thank you . Now I use this : http://struts.sourceforge.net/struts-spring/
Because it is easy to test. :)
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! :(
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...
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(Author author, Article article)...
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...
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...
Hi everyone:
I want to make the following code in the Transaction:
public Object insertArticle(Author author, Article article) throws DataAccessException {
// TODO...
There is an problem. I write this code in API:
Properties p = new Properties();
p.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");...
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:
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:
Thank you. I will try the JndiTemplate. ;-)
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"...