I have the following action mapping in my struts-config.xml:

<action path="/campaign/main"
       type="com.proteusmobile.actions.CampaignMainAction"
 </action>

When I build and run the application I get the following error:

javax.servlet.ServletException: Cannot create rewrite URL: 
java.net.MalformedURLException: Cannot retrieve ActionForwards collection
.....

However if I modify the action mapping to the following everything works again:

<action path="/campaign/main"
                type="com.proteusmobile.actions.CampaignMainAction"
                input="/Login.jsp">           
        </action>      


Isn't it possible to have an action mapping with just the "path" and the "type" 
attributes?

thanks,
sriram      

Reply via email to