Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat & Struts Cacheing

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Oliver Moore
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic