Modify PageFlowUtils.strutsLookup() method to work in a lazy servlet
reinitialization
-------------------------------------------------------------------------------------
Key: BEEHIVE-1114
URL: http://issues.apache.org/jira/browse/BEEHIVE-1114
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1, 1.0.1, v.next
Reporter: Carlin Rogers
Assigned to: Carlin Rogers
Priority: Minor
Fix For: v.next
Modify the PageFlowUtils.strutsLookup() method to work in a lazy servlet
reinitialization scenario. This would just add some code to acquire a request
dispatcher to execute an action if the ActionServlet is not available from the
ServletContext. The ActionServlet would not be available if the normal servlet
initialization has not yet completed. Rather than return null, since we can't
call doGet() directly on the servlet, aquire the request dispatcher from the
unwrapped outer request and call forward() to trigger the servlet
initialization. This code path is not used in a general standalone beehive
NetUI web app and only execute in the case that the ActionServlet has not been
initilialized.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira