aspose file tools
The moose likes JSP and the fly likes Tomcat & Struts Cacheing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Tomcat & Struts Cacheing" Watch "Tomcat & Struts Cacheing" New topic
Author

Tomcat & Struts Cacheing

Oliver Moore
Ranch Hand

Joined: Mar 04, 2003
Posts: 44
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.


Regards,<p>Ols
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
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>
Oliver Moore
Ranch Hand

Joined: Mar 04, 2003
Posts: 44
Fixed it... found a duplicate entery in my struts-config file... thanks for the tip though...
 
IntelliJ Java IDE
 
subject: Tomcat & Struts Cacheing
 
Threads others viewed
Simple Struts Question
Is It Possible to Invoke An Action By Selecting an Option from a Drop-Down Menu?
path=".search.save" where does it take me?
global forward in struts
Making page without using ActionForm ( Bean Class )
developer file tools