| Article: |
Wiring Your Web Application with Open Source Java | |
| Subject: | great article-some comments on the code | |
| Date: | 2004-07-11 21:39:20 | |
| From: | bikachu | |
|
Response to: great article-some comments on the code
|
||
|
hi,vijay172 Why I can not still run the sample with the article.The printed information in the console maybe seems to tell me the struts action did not be registed when the web server is starting. Could you help me in detail.
|
||
Showing messages 1 through 5 of 5.
-
great article-some comments on the code
2004-07-12 04:38:48 meagle [View]
-
great article-some comments on the code
2004-08-25 03:04:08 bikachu [View]
hi Mark
Thanks for your reply firstly .and could tell me what is jstl.jsr? and could you send it to me if possible .my email address is zhou.cheng@bull.net,
thanks again ,kind man. -
great article-some comments on the code
2004-09-05 22:48:34 bikachu [View]
hi ,Mark
Have you ever happened the following errors when I want to set a order or find a order :
java.lang.IllegalAccessError: tried to access method net.sf.hibernate.impl.SessionImpl.(Ljava/sql/Connection;Lnet/sf/hibernate/impl/SessionFactoryImpl;ZJLnet/sf/hibernate/Interceptor;)V from class net.sf.hibernate.impl.SessionFactoryImpl
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:312)
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:325)
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:333)
at org.springframework.orm.hibernate.SessionFactoryUtils.getSession(SessionFactoryUtils.java:184)
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:268)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:216)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:173)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:148)
at $Proxy0.saveNewOrder(Unknown Source)
at com.meagle.action.SaveOrderAction.execute(SaveOrderAction.java:85)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)
Could you help me again!
thanks very much.
chengzhou
-
great article-some comments on the code
2004-09-15 23:31:03 bikachu [View]
hi Mark
Does jstl.jsr and jstl.jar are same!Now I still can not run the samples.Once I click the link that invoke the struts action,the error will popup with the following information:
"HTTP Status 404 - Servlet action is not available"
what happened to you? Could you help me with kindness?I am so in blue! -
great article-some comments on the code
2006-07-22 01:40:46 enterprisejava [View]



1. changed web.xml to have a / in front of /WEB-INF/struts-config.xml.
2. created a WEB-INF/lib and added the required libs.
3. added to $tomcat-home$/common/lib the jstl jars - standard.jar and jstl.jsr
4. used spring-framework-1.0-with-dependencies.zip in the lib directory.
You might also want to put your logger in DEBUG mode in case you are not seeing all details about why Struts is not initializing. Let me know if this does not work.
Mark