on 10-10-2008 6:21 PM
Hi all, I was hoping that someone might be able to help. I am trying to create a new page in our B2B application. I have created a basic test page that I am trying to call with a new action. But I am getting and error when I try to run the E-Commerce application. Here is the error that I get:
Servlet [action] will be unavailable for undefined time.
Details: javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml
Exception id: [00151738553200670000001B000015B8000458E955854074]
This happens immediately, before I can even log on. I assume that the application is having a problem loading my new action class. Here is the config.xml that calls my action class for my new action:
<action path="/b2b/accountability" type="com.sap.isa.mod.test.AccountabilityAction"/>
<forward name="accountability" path="/b2b/Accountability.jsp"/>
</action>
</action-mappings>
Here is the class that should be called:
package com.sap.isa.mod.test;
import com.sap.isa.core.BaseAction;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
public class AccountabilityAction extends BaseAction {
public ActionForward doPerform( ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) throws ServletException
{
return mapping.findForward("accountability");
}
}
This class was added to the crm/home/shr/ext project underneath a src folder. Any help would be great. I think my problem is how and where I added my class. I am new to ISA and E-Commerce so I am trying to figure this out.
Thanks...DM
I think I found the problem. Incorrect syntax in the config.xml file. Seems to be working now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.