dcsimg
Mapping *.do requests to servlets is not working
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Weir
Posted On:   Friday, January 18, 2002 03:56 AM

I have setup my web.xml to map my struts *.so pages to the action servlet. I am using tomcat 4.0.1 and the mapping doesn't work, where as on Weblogic 5.1 it does. Looking for pointers. I get the following error The requested resource /sourcefiles/dealinfo/setupProductForm.do) is not available Thanks John action *.do action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml etc ... in the logfile I can see the mappings get setup Call org.apache.struts.action.ActionServlet.addMapping(Act   More>>

I have setup my web.xml to map my struts *.so pages to the action servlet. I am using tomcat 4.0.1 and the mapping doesn't work, where as on Weblogic 5.1 it does.


Looking for pointers. I get the following error


The requested resource /sourcefiles/dealinfo/setupProductForm.do) is not available


Thanks


John


			


action
*.do




action
org.apache.struts.action.ActionServlet

config
/WEB-INF/struts-config.xml


etc ...


in the logfile I can see the mappings get setup

			
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/sourcefiles/dealinfo/setupProductForm, type=com.gs.ficc.cderiv.web.SetupProductFormAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
New org.apache.struts.action.ActionForward
Set org.apache.struts.action.ActionForward properties
Call org.apache.struts.action.ActionMapping.addForward(ActionForward[success])

   <<Less

Re: Mapping *.do requests to servlets is not working

Posted By:   sulfura_c  
Posted On:   Wednesday, April 3, 2002 01:52 PM

Actually,
i have the same issue, but the opposite. I can deploy and run it under Apache Tomcat but not under Weblogic 6.1. When i hit my struts application, it tells me that it cannot find the servlet. Any ideas??

Thanks in advance

Re: Mapping *.do requests to servlets is not working

Posted By:   Ted_Husted  
Posted On:   Sunday, January 20, 2002 04:50 AM


Try moving the mapping element(s) after the servlet
configuration elements(s), in the exact order given
in the Servlet specifciation.



Tomcat can be quite strict :)



HTH -Ted

About | Sitemap | Contact