Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
  • 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
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic