From: <wan...@ya...> - 2004-02-17 01:05:41
|
Hello, everybody I need to implement such a web-plugin framework as in the attachment (a .dia file, hope you also use linux and dia). Let me explain my idea: I packed related resources--class,html,.wm,config.xml etc. into several .jar file, each one implement a specific business model. And then, when a http request arrives, the controller servlet will parse the URL and decide which .jar file can fullfit the request, and dispatch the request to this .jar file. Each .jar file contains a file named ActionDispatcher, it will parse the URL further and decide wich action should be called, then the correct action will return the correct .wm content to the client. How to implement it? Thank you, Zhong _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com |