the problem is that,how can i loading class from different class path
from different package like follow in web.xml:
<param-name>tapestry.app-package</param-name>
<param-value>std.example.myapp, cus.example.myapp</param-value>
we support custom solution base on product solution.
the web application's directory like follow:
WEB-ROOT
|
|----WEB-INF
| |
| |-----std.example.myapp //product components
| | |
| | |----pages
| | |----services
| | |----data
|-----std module1 //standard module (modue1_*.html)
|-----std module2 //standard module (modue2_*.html)
| | |
| |-----cus.example.myapp //custom modules components
| | |
| | |----pages
| | |----services
| | |----data
| | |
|-----cus module1 //custom module (modue1_*.html)
|-----cus module2 //custom module (modue2_*.html)
the benefits:
1、if we only nedd to upgrade std module1, we only need to update directory
std module1 //standard module (modue1_*.html)
and some java in pages,services,data
2、I suggest the sambol "tapestry.app-package" not define in web.xml,
the problem is how can i add a new cus module(cus module3),the web
application don't need to stop and restart.