Do you have a web.xml in the servlets/web/web-inf directory?
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
JavaNews: http://www.multitask.com.au/JavaNews
----- Forwarded by dIon Gillard/Multitask Consulting/AU on 05/10/2001 11:21
AM -----
Problem with action servlet and Websphere 3.5.4 with Struts
Hi everyone,
I have a problem using Websphere 3.5.4 with Struts
I keep getting the following error for the My action servlet when I
start my web app
action : Mapping for servlet 'action' = 'null'
I have the following small piece of XML code in my struts-config.xml
file. (This is only
a small piece of the XML file, not the whole thing)
<action-mappings>
<action path="/addBankUser"
type="com.royalbank.wcm_ws.action.AddBankUserAction"
name="addBankUserForm"
scope="session"
validate="true"
input="addBankUser.jsp">
<forward name="success" path="/AddBankUser.jsp"/>
<forward name="cancel" path="/BankAdminHome.jsp"/>
<forward name="failure" path="/AddBankUser.jsp"/>
</action>
</action-mappings>
com.royalbank.wcm_ws.action.AddBankUserAction DOES exist and is in my
class path but when I load http://myServer/MyWebApp/addBankUser.do
I get the following error on my browser.
PS: my action servlet is setup up with the tag -->
<servlet-path>*.do</servlet-path>
Root Error-1: Invalid path /addBankUser was requested
com.ibm.servlet.engine.webapp.WebAppErrorReport: Invalid path
/addBankUser was requested
Any one know how to solve the problem ?
Thanks,
Bryan
Bryan Mallinson
Software Developer
Toronto Global Development Centre
Infosys Technologies Ltd.
Tel: (416) 224-7469
Fax: (416) 224-7449
Email: [EMAIL PROTECTED]
Previous Document (Embe (Embe Next Document
dded dded
image image
moved moved
to to
file: file:
pic18 pic06
467.p 334.p
cx) cx)
Return to View
(Embedded image moved to
file: pic26500.pcx)
MultitaskConsulting footer
pic18467.pcx
pic06334.pcx
pic26500.pcx