<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman" size=2>Arash,</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2>1. I build a new fold named "test" in
/site/defalt, the structure as follow:</FONT></DIV>
<DIV><FONT face="Times New Roman" size=2>/test</FONT></DIV>
<DIV><FONT size=2> -index.jsp</FONT></DIV>
<DIV><FONT size=2> -login.jsp</FONT></DIV>
<DIV><FONT size=2> /user</FONT></DIV>
<DIV><FONT size=2> -user_list.jsp</FONT></DIV>
<DIV><FONT size=2> -user_new.jsp</FONT></DIV>
<DIV><FONT size=2>2. My origin webapp is built with
webwork2+spring+hibernate.</FONT></DIV>
<DIV><FONT size=2>in the Opencms defualt web.xml,I add the following
code:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman" size=2><filter><BR>
<filter-name>webwork</filter-name><BR>
<filter-class><BR>
<FONT
face=ËÎÌå>com.opensymphony.webwork.dispatcher.FilterDispatcher</FONT><BR> <FONT
face=ËÎÌå> </FONT> </filter-class><BR> </filter></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face="Times New Roman"
size=2> <filter-mapping><BR>
<filter-name>webwork</filter-name><BR>
<url-pattern>/*</url-pattern><BR> </filter-mapping></FONT></DIV>
<DIV><FONT
size=2><listener> <BR> <listener-class><BR> org.springframework.web.context.ContextLoaderListener<BR> </listener-class> <BR> </listener></FONT></DIV>
<DIV><FONT size=2>3. copy the the classes files into
/opencms/WEB-INF/classes</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>4. restart Tomcat,and visit <A
href="http://localhost:8080/opencms/opencms/test/index.jsp">http://localhost:8080/opencms/opencms/test/index.jsp</A></FONT></DIV>
<DIV><FONT size=2> it is fine.</FONT></DIV>
<DIV><FONT size=2>5. when I click the submit button in index.jsp I got a 404
problem .</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> I guess , maybe it caused by the
OpencmsListener and the Spring listener conflict. but if I remove
the OpenCmsServlet description from web.xml, I can direct access the
action <A
href="http://localhost:8080/opencms/opencms/test/login.action">http://localhost:8080/opencms/opencms/test/login.action</A>.</FONT></DIV>
<DIV><FONT size=2> there must be something wrong with what I
have done.</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2>Best regards,</FONT></DIV>
<DIV><FONT size=2>Eric</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>