Hi

Im very new with this struts thing,
I've got an action path /login now I want it to use my own Controller 
Servlet... this is what I've got
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts 
Configuration 1.0//EN"
                               
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
<struts-config>

        <!-- Data Sources -->
        <data-sources>
        </data-sources>

        <!-- Form Beans -->

        <!-- Global Forwards -->
        <global-forwards>
        </global-forwards>

        <!-- Action Mappings -->
        <action-mappings>
                <action path="/login" unknown="true" forward="Controller">
                </action>
        </action-mappings>

</struts-config>

now my login jsp form looks as follows

<html:form action="/login">

This does not work.... 
this happnes when the JSP compiels
(Cannot retrieve mapping for action /login)

what is wrong?

Thanks 

Reply via email to