• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat & Struts Cacheing

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fixed it... found a duplicate entery in my struts-config file... thanks for the tip though...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic