Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to write and implement a userdefined plugin class in struts

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please help me in writing and implementing a userdefined plugin class in struts.

With that class I want to create a folder at the startup of our application we are developing.

Thanks n regards,
raaja
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the Struts Documentation?
Struts plugins are used to extend the framework (for example, to provide REST support). It sounds like what you want to do is provide application-level functionality. I would probably use a ServletContextListener to take care of any application setup tasks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic