struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39040] - Refactor Struts initialization to ServletContextListener
Date Tue, 21 Mar 2006 00:43:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39040>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39040





------- Additional Comments From martinc@apache.org  2006-03-21 00:43 -------
When you refer to removing the dependency on the Servlet API, I'm assuming this
is for the purpose of supporting portlets? In that case, creating an interface
that has the common methods would do the trick. Here's what you need from the
Portlet 1.0 spec:

"PLT.10.3.1 Correspondence between ServletContext and PortletContext methods

The following methods of the PortletContext should provide the same
functionality as the methods of the ServletContext of similar name:
getAttribute, getAttributeNames, getInitParameter, getInitParameterNames,
getMimeType, getRealPath, getResource, getResourcePaths, getResourceAsStream,
log, removeAttribute and setAttribute."

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message