I have the following entry in my struts-config.xml <action path="/prepChkItemID" type="com.ops.actions.PrepChkItemIDAction" input="/viewSupplierItems.do"> <forward name="success" path="/checkitem_id.jsp"/> </action> However when I first entered it, I miss-spelt the type as prepChkItemIDAction (note lower case p). Having corrected the spelling, I still recieve: No action instance for path /prepChkItemID could be created errors from Tomcat as it does not appear to pick up the corrected type name. Although this can be fixed by modifying the path entry in struts, I would like to know if I can flush the cache in some way or perform some other modification to resolve this problem. I have tried reinstalling Tomcat and clearing my browser cache. Any help would be apprieciated.
there is no such cache. If you are still getting a "No such action defined" type error then you havent updated the correct file. Why dont you cut and paste the section of your struts config file from the WEB-INF directory - also this question would be better in the struts (java frameworks) list btw
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
posted 17 years ago
Fixed it... found a duplicate entery in my struts-config file... thanks for the tip though...
I've been selected to go to the moon! All thanks to this tiny ad: