I have the following action configured in my struts-config.xml file;
<action path="/admin/login"
type="com.datapulse.views.admin.LoginAction"
name="userActionForm"
scope="request"
input="/jsp/admin/login.jsp">
</action>
and am trying to link to it from a jsp page using the FormTag.
I expected the following to work;
<html:form action="/admin/login.do" scope="request">
but it throws a ServletException with the message;
Cannot retrieve mapping for specified form action path "/login"
It appears that the path ("/admin") part of the action is being stripped
before looking up the mapping. Should this really be done and, if so, how
can I create a FormTag to call my Action?
Help would be appreciated.
-------------------------------------------
Howard Moore
Senior Software Engineer
Datapulse CTI
Tel : +44 (0)1491 418000
Fax : +44 (0)1491 411459
E-mail: [EMAIL PROTECTED]