Ok, I now executed the test1.do by removing all un necessary codes and I get
this error

The requested resource (Invalid path /test1 was requested) is not available.

Why is the context not found for .do file?

my struts-config.xml file

<?xml version="1.0" encoding="ISO-8859-1" ?>

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

<struts-config>

<action-mappings>
<action path = "/testme"
            type = "org.apache.struts.actions.ForwardAction"
            parameter = "/testme.jsp"
            validate = "false" >
            <forward name = "success" path = "/testme.jsp"/>
</action>

</action-mappings>


</struts-config>


Uma

-----Original Message-----
From: Sunny [mailto:[EMAIL PROTECTED]
Sent: Monday, December 13, 2004 3:23 PM
To: Struts Users Mailing List
Subject: Re: Cannot find ActionMappings or ActionFormBeans collection


hi,

there is *no need* to add struts-bean.tld as she is *not* using any bean
tags

uma, please paste your tomcat's class path. mail your
setclasspath.sh(linux) or setclasspath.bat(windows) or whatever file in
which you are setting tomcat's class path


also try creating a normal jsp ( no form submissions)

and an action similar to

<action path = "/testme"
             type = "org.apache.struts.actions.ForwardAction"
             parameter = "/testme.jsp"
             validate = "false" >
             <forward name = "success" path = "/testme.jsp"/>
 </action>

testme.jsp

<html>
<body>
 <h1> hello your test is successful </h1>
</body>
</html>


call the url with .do (testme.do) and paste the results. in this way we
can know whether its the problem with struts itself or your page.


regards,
Sunny


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


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

Reply via email to