You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Cedric Dumoulin <ce...@lifl.fr> on 2002/02/05 17:14:37 UTC
[proposal] Multi-app sources modifications
In order to ease integration of Struts and Tiles (and others
frameworks as well), while keeping Struts free from any Tiles stuff, I
propose following modification in code :
* in action.RequestProcessor.java :
o add method "public ActionServlet getServlet(){};"
+ to allow subclasses to access the servlet. Personally I
need to retrieve servlet configuration to initialize
Tiles.
o Let method init(...) throws a ServletException, like its
Servlet counterpart.
+ This will allow subclasses to throw an error if init()
fail.
o Factorize calls to RequestDispatcher.include() and
RequestDispatcher.forward().
+ To allow a subclass to overload these methods, in order
to catch forwards.
If there is no objections, I will commit these changes.
Cedric
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>