Author: steveh
Date: Tue Apr 19 11:33:44 2005
New Revision: 161945
URL: http://svn.apache.org/viewcvs?view=rev&rev=161945
Log:
Fix for BEEHIVE-228: Controller with JSPs behaving differently than Controller
in WEB-INF/src
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_overview.xml
Modified:
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_overview.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_overview.xml?view=diff&r1=161944&r2=161945
==============================================================================
---
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_overview.xml
(original)
+++
incubator/beehive/trunk/docs/forrest/src/documentation/content/xdocs/pageflow/pageflow_overview.xml
Tue Apr 19 11:33:44 2005
@@ -216,6 +216,22 @@
candidate controller class to instantiate.</p>
<source>http://some.domain.com/foo/someAction.do</source>
+ <note>When a folder-path URL is called
+ <br/><br/>
+ http://some.domain.com/foo
+ <br/><br/>
+ the Controller class will not be instantiated, unless (1) you
list the class in <code>web.xml</code>'s
+ <code><welcome-file-list></code>.
+ <br/><br/>
+ <welcome-file-list>
+
<br/> <welcome-file>Controller.jpf</welcome-file>
+
<br/> <welcome-file>index.jsp</welcome-file>
+ <br/> </welcome-file-list>
+ <br/><br/>
+ and (2) the Controller.jpf file resides in the folder
<code>foo</code>. If the
+ Controller.jpf resides in the <code>WEB-INF/src/</code>
directory, then it will not be instantiated
+ when the folder-path URL is called.
+ </note>
<p>Actions may perform any required
complex logic. For example, if a user clicks on the "My Page" link, the
action may check if