Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strtus modules

 
Pep Menval
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been reviewing some articles in the Net about modules in Struts, and still have no clear idea of how to use them properly. Can you help me?

Best regards

Pep
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. What about using them don't you understand?
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my work,

I used struts to controll flow/action of my work in Web Tier.
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pep Menval:
I've been reviewing some articles in the Net about modules in Struts, and still have no clear idea of how to use them properly. Can you help me?


Modules are best used if you have a single large application that you can easily segment out into smaller pieces. If each piece is going to be developed or maintained by a different group of developers, modules are a good choice.

A good hint to consider modules is if you have a large app that, for purposes of organization, you want to group JSPs into subdirectories under your web content. Each subdirectory then can correspond to a module--and in fact, struts assumes that this is the case.

BTW, make sure that your directory names match your module--verbatim. Otherwise things like html:rewrite behave a little... unfriendly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic