hi!
i am a new struts user.
i am having the following problem
when i click on a link that is supposed to perform an action and either return an error or success, it says fileTransfer.do not found
here is my link
<html:link page="/fileTransfer.do?action=get">Statistics</html:link>


my struts-config.xml is
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
         "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
         "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>


<struts-config>



<!-- ========== Global Forward Definitions ============================== -->


    <global-forwards>
        <forward   name="success"  path="/fileTransfer.jsp"/>
        <forward   name="error"            path="/fileTransfer.jsp"/>
    </global-forwards>


<!-- ========== Action Mapping Definitions ============================== -->


    <action-mappings>
    <!-- Process a fileTransfer -->
        <action    path="/fileTransfer"
                   type="FileTransferAction"
                   scope="request"
                   input="fileTransfer"/>

</action-mappings>

    <controller>
    <!-- The "input" parameter on "action" elements is the name of a
    local or global "forward" rather than a module-relative path -->
    <set-property property="inputForward" value="true"/>
    </controller>


<!-- ========== Message Resources Definitions =========================== -->


    <message-resources
        parameter="ApplicationResources"/>

</struts-config>

FileTransferAction is in WEB-INF/classes
the program works fine at home where i'm using tomcat 5.0 (the one that comes with java web services developer's pack)
however when i upload it to my hosting service provider, www,eroute.net (which uses Tomcat 4.1.24), i get the File Not Found Error
the file can be seen at
www.ajaybrar.net/projectv2


thanks a lot
ajay

_________________________________________________________________
Chat via SMS. Simply send 'CHAT' to 1889918. More info at http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to