Author: rich
Date: Sat Apr 16 13:06:38 2005
New Revision: 161602

URL: http://svn.apache.org/viewcvs?view=rev&rev=161602
Log:
Fix for http://issues.apache.org/jira/browse/BEEHIVE-529 : Fix failing BVT 
JspSeesSharedFlow

The problem was that there was no way for the JSP to access actions in a shared 
flow, since there was no page flow to declare the shared flow reference.  The 
solution was to add a block like this to /WEB-INF/beehive-netui-config.xml:

     <default-shared-flow-refs>
         <shared-flow-ref>
             <name>defaultSharedFlow1</name>
             <type>miniTests.jspSeesSharedFlow.sharedFlow1.SharedFlow1</type>
         </shared-flow-ref>
         <shared-flow-ref>
             <name>defaultSharedFlow2</name>
             <type>miniTests.jspSeesSharedFlow.sharedFlow2.SharedFlow2</type>
         </shared-flow-ref>
     </default-shared-flow-refs>

This declares default shared flow references that are used across the webapp.

tests: bvt in netui (WinXP)
BB: self (linux)


Added:
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/index.jsp
      - copied, changed from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/SharedFlow1.jpfs
      - copied, changed from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/SharedFlow2.jpfs
      - copied, changed from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/success.jsp
      - copied, changed from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp
Removed:
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp
Modified:
    
incubator/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/PageFlowChecker.java
    
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.java
    
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
    
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowActionServlet.java
    
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
    incubator/beehive/trunk/netui/src/util/schema/netui-config/netui-config.xsd
    
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/beehive-netui-config.xml
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
    
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JspSeesSharedFlow.xml

Modified: 
incubator/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/PageFlowChecker.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/PageFlowChecker.java?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/PageFlowChecker.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/PageFlowChecker.java
 Sat Apr 16 13:06:38 2005
@@ -94,7 +94,8 @@
                                            SHARED_FLOW_REF_TAG_NAME, 
sharedFlowName );
             }
         }
-        else if ( CompilerUtils.isAssignableFrom( SHARED_FLOW_BASE_CLASS, 
field.getType(), getEnv() ) )
+        else if ( CompilerUtils.isAssignableFrom( SHARED_FLOW_BASE_CLASS, 
field.getType(), getEnv() )
+                  && ! CompilerUtils.isAssignableFrom( GLOBALAPP_BASE_CLASS, 
field.getType(), getEnv() ) )
         {
             // Output a warning if the field type extends SharedFlowController 
but there's no @Jpf.SharedFlowField
             // annotation (in which case the field won't get auto-initialized 
at runtime.

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.java?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/AutoRegisterActionServlet.java
 Sat Apr 16 13:06:38 2005
@@ -619,20 +619,21 @@
                 moduleConfig = getModuleConfig( request );
             }
             
-            if ( moduleConfig != null )
+            String servletPath = InternalUtils.getDecodedServletPath( request 
);
+            RequestProcessor rp = moduleConfig != null ? getRequestProcessor( 
moduleConfig ) : null;
+            
+            if ( rp != null && moduleCanHandlePath( moduleConfig, rp, 
servletPath ) )
             {
-                getRequestProcessor( moduleConfig ).process( request, response 
);
+                rp.process( request, response );
             }
             else
             {
-                String relativeURI = InternalUtils.getDecodedServletPath( 
request );
-                
-                if ( processUnhandledAction( request, response, relativeURI ) 
) return;
+                if ( processUnhandledAction( request, response, servletPath ) 
) return;
                 
                 if ( _log.isErrorEnabled() )
                 {
                     InternalStringBuilder msg = new InternalStringBuilder( "No 
module configuration registered for " );
-                    msg.append( relativeURI ).append( " (module path " 
).append( modulePath ).append( ")." );
+                    msg.append( servletPath ).append( " (module path " 
).append( modulePath ).append( ")." );
                     _log.error( msg.toString() );
                 }
 
@@ -642,11 +643,19 @@
                 if ( modulePath.length() == 0 ) modulePath = "/";
                 InternalUtils.sendDevTimeError( "PageFlow_NoModuleConf", null, 
HttpServletResponse.SC_NOT_FOUND, 
                                                 request, response, 
servletContext,
-                                                new Object[]{ relativeURI, 
modulePath } );
+                                                new Object[]{ servletPath, 
modulePath } );
             }
         }
     }
  
+    /**
+     * Tell whether the given module can handle the given path.  By default, 
this is always true.
+     */
+    protected boolean moduleCanHandlePath( ModuleConfig moduleConfig, 
RequestProcessor rp, String servletPath )
+    {
+        return true;
+    }
+    
     /**
      * @exclude
      */    

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
 Sat Apr 16 13:06:38 2005
@@ -20,6 +20,8 @@
 import org.apache.beehive.netui.util.logging.Logger;
 import org.apache.beehive.netui.util.config.ConfigUtil;
 import org.apache.beehive.netui.util.config.bean.PageflowConfig;
+import org.apache.beehive.netui.util.config.bean.DefaultSharedFlowRefs;
+import org.apache.beehive.netui.util.config.bean.SharedFlowRef;
 import org.apache.beehive.netui.pageflow.internal.InternalUtils;
 import org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig;
 import org.apache.beehive.netui.pageflow.handler.ReloadableClassHandler;
@@ -101,6 +103,11 @@
         String parentDir = PageFlowUtils.getModulePathForRelativeURI( path );
         
         //
+        // Reinitialize transient data that may have been lost on session 
failover.
+        //
+        if ( cur != null ) cur.reinitialize( request, response, 
getServletContext() );
+        
+        //
         // If there's no current PageFlow, or if the current 
PageFlowController has a module path that
         // is incompatible with the current request URI, then create the 
appropriate PageFlowController.
         //
@@ -118,10 +125,6 @@
             }
         }
         
-        //
-        // Reinitialize transient data that may have been lost on session 
failover.
-        //
-        cur.reinitialize( request, response, getServletContext() );
         return cur;
     }     
     
@@ -400,6 +403,7 @@
         HttpServletRequest request = context.getHttpRequest();
         HttpServletResponse response = context.getHttpResponse();
         ModuleConfig mc = InternalUtils.ensureModuleConfig( parentDir, 
request, getServletContext() );
+        LinkedHashMap/*< String, SharedFlowController >*/ sharedFlows = 
getDefaultSharedFlows( context );
         
         if ( mc != null )
         {
@@ -411,29 +415,14 @@
                 
                 if ( sharedFlowTypes != null && sharedFlowTypes.size() > 0 )
                 {
-                    LinkedHashMap/*< String, SharedFlowController >*/ 
sharedFlows =
-                            new LinkedHashMap/*< String, SharedFlowController 
>*/();
+                    if ( sharedFlows == null ) sharedFlows = new 
LinkedHashMap/*< String, SharedFlowController >*/();
                     
                     for ( Iterator/*<Map.Entry>*/ i = 
sharedFlowTypes.entrySet().iterator(); i.hasNext(); )
                     {
                         Map.Entry entry = ( Map.Entry ) i.next();
                         String name = ( String ) entry.getKey();
-                        String className = ( String ) entry.getValue();
-                        SharedFlowController sf = PageFlowUtils.getSharedFlow( 
className, request );
-                        
-                        //
-                        // Reinitialize transient data that may have been lost 
on session failover.
-                        //
-                        if ( sf != null )
-                        {
-                            sf.reinitialize( request, 
context.getHttpResponse(), getServletContext() );
-                        }
-                        else
-                        {
-                            sf = createSharedFlow( context, className );
-                        }
-                        
-                        if ( ! ( sf instanceof GlobalApp ) ) sharedFlows.put( 
name, sf );
+                        String type = ( String ) entry.getValue();
+                        addSharedFlow( context, name, type, sharedFlows );
                     }
                     
                     return sharedFlows;
@@ -455,8 +444,60 @@
             getGlobalApp( request, response, getServletContext() );
         }
         
+        return sharedFlows;
+    }
+    
+    LinkedHashMap/*< String, SharedFlowController >*/ getDefaultSharedFlows( 
RequestContext context )
+            throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
+    {
+        DefaultSharedFlowRefs defaultRefs = 
ConfigUtil.getConfig().getDefaultSharedFlowRefs();
+        
+        if ( defaultRefs != null )
+        {
+            SharedFlowRef[] refs = defaultRefs.getSharedFlowRefArray();
+           
+            if ( refs.length > 0 )
+            {
+                LinkedHashMap/*< String, SharedFlowController >*/ sharedFlows 
= new LinkedHashMap();
+                
+                for ( int i = 0; i < refs.length; i++ )
+                {
+                    SharedFlowRef ref = refs[i];
+                    if ( _log.isInfoEnabled() )
+                    {
+                        _log.info( "Shared flow of type " + ref.getType() + " 
is a default shared flow reference "
+                                    + "with name " + ref.getName() );
+                    }
+                    addSharedFlow( context, ref.getName(), ref.getType(), 
sharedFlows );
+                }
+                
+                return sharedFlows;
+            }
+        }
+        
         return null;
-    }    
+    }
+    
+    private void addSharedFlow( RequestContext context, String name, String 
type, LinkedHashMap sharedFlows )
+            throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
+    {
+        HttpServletRequest request = context.getHttpRequest();
+        SharedFlowController sf = PageFlowUtils.getSharedFlow( type, request );
+        
+        //
+        // Reinitialize transient data that may have been lost on session 
failover.
+        //
+        if ( sf != null )
+        {
+            sf.reinitialize( request, context.getHttpResponse(), 
getServletContext() );
+        }
+        else
+        {
+            sf = createSharedFlow( context, type );
+        }
+        
+        if ( ! ( sf instanceof GlobalApp ) ) sharedFlows.put( name, sf );
+    }
     
     /**
      * Get a FlowController class.  By default, this loads the class using the 
thread context class loader.

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowActionServlet.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowActionServlet.java?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowActionServlet.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowActionServlet.java
 Sat Apr 16 13:06:38 2005
@@ -24,8 +24,11 @@
 import org.apache.beehive.netui.pageflow.handler.Handlers;
 import org.apache.beehive.netui.pageflow.handler.FlowControllerHandlerContext;
 import org.apache.beehive.netui.pageflow.handler.ForwardRedirectHandler;
+import org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig;
 import org.apache.beehive.netui.util.internal.ServletUtils;
 import org.apache.beehive.netui.util.logging.Logger;
+import org.apache.struts.config.ModuleConfig;
+import org.apache.struts.action.RequestProcessor;
 
 import javax.servlet.ServletException;
 import javax.servlet.ServletContext;
@@ -33,6 +36,9 @@
 import javax.servlet.http.HttpServletResponse;
 import java.io.Serializable;
 import java.io.IOException;
+import java.util.Map;
+import java.util.List;
+import java.util.Collection;
 
 
 
@@ -185,24 +191,75 @@
     }
     
     /**
+     * Tell whether the given module can handle the given path.  If this is 
the root module (path=="") and it's a 
+     * Page Flow module, then it shouldn't try to handle any path that has a 
slash in it -- it only handles local
+     * actions.
+     */ 
+    protected boolean moduleCanHandlePath( ModuleConfig moduleConfig, 
RequestProcessor rp, String servletPath )
+    {
+        if ( moduleConfig.getPrefix().equals( "" ) && servletPath.lastIndexOf( 
'/' ) > 0
+             && rp instanceof PageFlowRequestProcessor )
+        {
+            return false;
+        }
+        
+        return true;
+    }
+    
+    /**
      * Last chance to handle an unhandled action URI.
      * @return <code>true</code> if this method handled it (by forwarding 
somewhere or writing to the response).
      */ 
-    
     protected boolean processUnhandledAction( HttpServletRequest request, 
HttpServletResponse response, String uri )
         throws IOException, ServletException
     {
+        SharedFlowController sharedFlowToTry = null;
+        String uriBaseName = ServletUtils.getBaseName( uri );
+        int firstDot = uriBaseName.indexOf( '.' );
+        int lastDot = uriBaseName.lastIndexOf( '.' );
+        
+        if ( firstDot != -1 && firstDot != lastDot )
+        {
+            String sharedFlowName = uriBaseName.substring( 0, firstDot );
+            
+            try
+            {
+                RequestContext rc = new RequestContext( request, response );
+                Map defaultSharedFlows = FlowControllerFactory.get( 
getServletContext() ).getDefaultSharedFlows( rc );
+                
+                if ( defaultSharedFlows != null )
+                {
+                    sharedFlowToTry = ( SharedFlowController ) 
defaultSharedFlows.get( sharedFlowName );
+                    uriBaseName = uriBaseName.substring( firstDot + 1 );
+                }
+            }
+            catch ( ClassNotFoundException e )
+            {
+                throw new ServletException( e );
+            }
+            catch ( InstantiationException e )
+            {
+                throw new ServletException( e );
+            }
+            catch ( IllegalAccessException e )
+            {
+                throw new ServletException( e );
+            }
+        }
+        else
+        {
+            sharedFlowToTry = FlowControllerFactory.getGlobalApp( request, 
response, getServletContext() );
+        }
+        
         //
         // If we couldn't find an appropriate module, try raising the action 
on the (deprecated) Global.app.
-        // TODO: have some sort of webapp-wide Shared Flow for this type of 
fallback.
         //
-        GlobalApp ga = FlowControllerFactory.getGlobalApp( request, response, 
getServletContext() );
         
-        if ( ga != null )
+        if ( sharedFlowToTry != null )
         {
-            InternalStringBuilder sfActionURI = new InternalStringBuilder( 
ga.getModulePath() );
+            InternalStringBuilder sfActionURI = new InternalStringBuilder( 
sharedFlowToTry.getModulePath() );
             sfActionURI.append( '/' );
-            sfActionURI.append( ServletUtils.getBaseName( uri ) );
+            sfActionURI.append( uriBaseName );
             PageFlowRequestWrapper.get( request ).setOriginalServletPath( uri 
);
             ForwardRedirectHandler frh = _handlers.getForwardRedirectHandler();
             FlowControllerHandlerContext context = new 
FlowControllerHandlerContext( request, response, null );

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
 (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
 Sat Apr 16 13:06:38 2005
@@ -1320,8 +1320,12 @@
         }
         else
         {
-            errorServletPath = InternalUtils.getDecodedServletPath( request );
-            return processUnresolvedAction( path, errorServletPath, request, 
response, forwardedForm );
+            //
+            // If the error action path has a slash in it, then it's not local 
to the current page flow.  Replace
+            // it with the original servlet path.
+            //
+            if ( errorServletPath != null && path.indexOf( '/' ) > 0 ) path = 
errorServletPath;
+            return processUnresolvedAction( path, request, response, 
forwardedForm );
         }
     }
     
@@ -1382,9 +1386,8 @@
         return true;
     }
     
-    protected ActionMapping processUnresolvedAction( String actionPath, String 
originalServletPath,
-                                                     HttpServletRequest 
request, HttpServletResponse response,
-                                                     Object returningForm )
+    protected ActionMapping processUnresolvedAction( String actionPath, 
HttpServletRequest request,
+                                                     HttpServletResponse 
response, Object returningForm )
         throws IOException
     {
                 if ( _log.isInfoEnabled() )

Modified: 
incubator/beehive/trunk/netui/src/util/schema/netui-config/netui-config.xsd
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/util/schema/netui-config/netui-config.xsd?view=diff&r1=161601&r2=161602
==============================================================================
--- incubator/beehive/trunk/netui/src/util/schema/netui-config/netui-config.xsd 
(original)
+++ incubator/beehive/trunk/netui/src/util/schema/netui-config/netui-config.xsd 
Sat Apr 16 13:06:38 2005
@@ -14,6 +14,7 @@
                 <xsd:element name="pageflow-action-interceptors" 
type="netui:pageflow-action-interceptors" minOccurs="0" maxOccurs="1"/>
                 <xsd:element name="pageflow-handlers" 
type="netui:pageflow-handlers" minOccurs="0" maxOccurs="1"/>
                 <xsd:element name="pageflow-config" 
type="netui:pageflow-config" minOccurs="0" maxOccurs="1"/>
+                <xsd:element name="default-shared-flow-refs" 
type="netui:default-shared-flow-refs" minOccurs="0" maxOccurs="1"/>
                 <xsd:element name="type-converters" 
type="netui:type-converters" minOccurs="0" maxOccurs="1"/>
                 <xsd:element name="jsp-tag-config" type="netui:jsp-tag-config" 
minOccurs="0" maxOccurs="1"/>
                 <xsd:element name="url-config" type="netui:url-config" 
minOccurs="0" maxOccurs="1"/>               
@@ -144,6 +145,19 @@
                 </xsd:simpleType>
             </xsd:element>
             <xsd:element name="module-config-locators" 
type="netui:module-config-locators" minOccurs="0" maxOccurs="1"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    
+    <xsd:complexType name="shared-flow-ref">
+        <xsd:sequence>
+           <xsd:element name="name" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
+           <xsd:element name="type" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    
+    <xsd:complexType name="default-shared-flow-refs">
+        <xsd:sequence>
+            <xsd:element name="shared-flow-ref" type="netui:shared-flow-ref" 
minOccurs="1" maxOccurs="unbounded"/>
         </xsd:sequence>
     </xsd:complexType>
     

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/beehive-netui-config.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/beehive-netui-config.xml?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/beehive-netui-config.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/beehive-netui-config.xml
 Sat Apr 16 13:06:38 2005
@@ -140,6 +140,17 @@
             </module-config-locator>
         </module-config-locators>
     </pageflow-config>
+    
+    <default-shared-flow-refs>
+        <shared-flow-ref>
+            <name>defaultSharedFlow1</name>
+            <type>miniTests.jspSeesSharedFlow.sharedFlow1.SharedFlow1</type>
+        </shared-flow-ref>
+        <shared-flow-ref>
+            <name>defaultSharedFlow2</name>
+            <type>miniTests.jspSeesSharedFlow.sharedFlow2.SharedFlow2</type>
+        </shared-flow-ref>
+    </default-shared-flow-refs>
 
     <jsp-tag-config>
        <doctype>html4-loose</doctype>

Copied: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/index.jsp
 (from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp)
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/index.jsp?view=diff&rev=161602&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp&r1=161348&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/index.jsp&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/index.jsp
 Sat Apr 16 13:06:38 2005
@@ -11,10 +11,10 @@
     <body>
         <h3>JSP Sees Shared Flow</h3>
 
-        <netui:anchor action="sfAction">sfAction (anchor)</netui:anchor>
+        <netui:anchor 
action="defaultSharedFlow1.sfAction1">defaultSharedFlow1.sfAction1 
(anchor)</netui:anchor>
 
-        <netui:form action="sfAction">
-            <netui:button value="sfAction (form)"/>
+        <netui:form action="defaultSharedFlow2.sfAction2">
+            <netui:button value="defaultSharedFlow2.sfAction2 (form)"/>
         </netui:form>
     </body>
 </netui:html>

Copied: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/SharedFlow1.jpfs
 (from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs)
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/SharedFlow1.jpfs?view=diff&rev=161602&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs&r1=161348&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/SharedFlow1.jpfs&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow1/SharedFlow1.jpfs
 Sat Apr 16 13:06:38 2005
@@ -1,4 +1,4 @@
-package miniTests.jspSeesSharedFlow;
+package miniTests.jspSeesSharedFlow.sharedFlow1;
 
 import org.apache.beehive.netui.pageflow.SharedFlowController;
 import org.apache.beehive.netui.pageflow.Forward;
@@ -6,10 +6,10 @@
 
 @Jpf.Controller(
     simpleActions={
-        @Jpf.SimpleAction(name="sfAction", 
path="/miniTests/jspSeesSharedFlow/subdir/success.jsp"),
-        @Jpf.SimpleAction(name="goPrev", 
path="/miniTests/jspSeesSharedFlow/subdir/index.jsp")
+        @Jpf.SimpleAction(name="sfAction1", 
path="/miniTests/jspSeesSharedFlow/success.jsp"),
+        @Jpf.SimpleAction(name="goPrev", 
navigateTo=Jpf.NavigateTo.previousPage)
     }
 )
-public class SharedFlow extends SharedFlowController
+public class SharedFlow1 extends SharedFlowController
 {
 }

Copied: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/SharedFlow2.jpfs
 (from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs)
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/SharedFlow2.jpfs?view=diff&rev=161602&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs&r1=161348&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/SharedFlow2.jpfs&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/SharedFlow.jpfs
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/sharedFlow2/SharedFlow2.jpfs
 Sat Apr 16 13:06:38 2005
@@ -1,4 +1,4 @@
-package miniTests.jspSeesSharedFlow;
+package miniTests.jspSeesSharedFlow.sharedFlow2;
 
 import org.apache.beehive.netui.pageflow.SharedFlowController;
 import org.apache.beehive.netui.pageflow.Forward;
@@ -6,10 +6,10 @@
 
 @Jpf.Controller(
     simpleActions={
-        @Jpf.SimpleAction(name="sfAction", 
path="/miniTests/jspSeesSharedFlow/subdir/success.jsp"),
-        @Jpf.SimpleAction(name="goPrev", 
path="/miniTests/jspSeesSharedFlow/subdir/index.jsp")
+        @Jpf.SimpleAction(name="sfAction2", 
path="/miniTests/jspSeesSharedFlow/success.jsp")
     }
 )
-public class SharedFlow extends SharedFlowController
+public class SharedFlow2 extends SharedFlowController
 {
 }
+

Copied: 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/success.jsp
 (from r161348, 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp)
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/success.jsp?view=diff&rev=161602&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp&r1=161348&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/success.jsp&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/miniTests/jspSeesSharedFlow/success.jsp
 Sat Apr 16 13:06:38 2005
@@ -13,8 +13,7 @@
 
         <b>Success</b>
         <br/>
-        <br/>
-        <netui:anchor action="goPrev">back</netui:anchor>
+        <netui:anchor href="index.jsp">back</netui:anchor>
     </body>
 </netui:html>
 

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
 Sat Apr 16 13:06:38 2005
@@ -4477,7 +4477,7 @@
       </test>
       <test>
          <name>JspSeesSharedFlow</name>
-         <description>Test of executing Shared Flow actions from JSPs that are 
not in Page Flow directories</description>
+         <description>Test of a JSP without a page flow, referencing actions 
defined in a default-shared-flow-ref declared in 
beehive-netui-config.xml.</description>
          <webapp>coreWeb</webapp>
          <categories>
             <category>bvt</category>

Modified: 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JspSeesSharedFlow.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JspSeesSharedFlow.xml?view=diff&r1=161601&r2=161602
==============================================================================
--- 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JspSeesSharedFlow.xml
 (original)
+++ 
incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/JspSeesSharedFlow.xml
 Sat Apr 16 13:06:38 2005
@@ -1,9 +1,9 @@
-!<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <ses:recorderSession 
xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session";>
    <ses:sessionName>JspSeesSharedFlow</ses:sessionName>
    <ses:tester>rich</ses:tester>
-   <ses:startDate>17 Aug 2004, 10:24:27.272 AM MDT</ses:startDate>
-   <ses:description>Test of executing Shared Flow actions from JSPs that are 
not in Page Flow directories.</ses:description>
+   <ses:startDate>15 Apr 2005, 01:00:37.657 PM MDT</ses:startDate>
+   <ses:description>Test of a JSP without a page flow, referencing actions 
defined in a default-shared-flow-ref declared in 
beehive-netui-config.xml.</ses:description>
    <ses:tests>
       <ses:test>
          <ses:testNumber>1</ses:testNumber>
@@ -12,13 +12,13 @@
             <ses:protocolVersion>1.1</ses:protocolVersion>
             <ses:host>localhost</ses:host>
             <ses:port>8080</ses:port>
-            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp</ses:uri>
+            <ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/index.jsp</ses:uri>
             <ses:method>GET</ses:method>
             <ses:parameters/>
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  <ses:value>7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -44,7 +44,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  
<ses:value>JSESSIONID=7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -56,27 +56,27 @@
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7) Gecko/20040707 Firefox/0.9.2</ses:value>
+                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
                </ses:header>
             </ses:headers>
          </ses:request>
          <ses:response>
             <ses:statusCode>200</ses:statusCode>
             <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
 <html lang="en">
 
-<head>
-        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp";>
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/index.jsp";>
     </head>
     <body>
         <h3>JSP Sees Shared Flow</h3>
 
-        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do">sfAction 
(anchor)</a>
+        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow1.sfAction1.do">defaultSharedFlow1.sfAction1
 (anchor)</a>
 
-        <form id="Netui_Form_0" 
action="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do" method="post">
-            <input type="submit" value="sfAction (form)">
+        <form 
action="/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow2.sfAction2.do" 
method="post">
+            <input type="submit" value="defaultSharedFlow2.sfAction2 (form)">
         </form>
     </body>
 
@@ -90,13 +90,13 @@
             <ses:protocolVersion>1.1</ses:protocolVersion>
             <ses:host>localhost</ses:host>
             <ses:port>8080</ses:port>
-            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do</ses:uri>
+            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow1.sfAction1.do</ses:uri>
             <ses:method>GET</ses:method>
             <ses:parameters/>
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  <ses:value>7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -122,7 +122,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  
<ses:value>JSESSIONID=7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -134,31 +134,30 @@
                </ses:header>
                <ses:header>
                   <ses:name>referer</ses:name>
-                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp</ses:value>
+                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/index.jsp</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7) Gecko/20040707 Firefox/0.9.2</ses:value>
+                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
                </ses:header>
             </ses:headers>
          </ses:request>
          <ses:response>
             <ses:statusCode>200</ses:statusCode>
             <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
 <html lang="en">
 
-<head>
-        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp";>
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/success.jsp";>
     </head>
     <body>
         <h3>JSP Sees Shared Flow</h3>
 
         <b>Success</b>
         <br/>
-        <br/>
-        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/subdir/goPrev.do">back</a>
+        <a href="/coreWeb/miniTests/jspSeesSharedFlow/index.jsp">back</a>
     </body>
 
 </html>]]></ses:responseBody>
@@ -171,13 +170,13 @@
             <ses:protocolVersion>1.1</ses:protocolVersion>
             <ses:host>localhost</ses:host>
             <ses:port>8080</ses:port>
-            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/subdir/goPrev.do</ses:uri>
+            <ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/index.jsp</ses:uri>
             <ses:method>GET</ses:method>
             <ses:parameters/>
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  <ses:value>7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -203,7 +202,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  
<ses:value>JSESSIONID=7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -215,31 +214,31 @@
                </ses:header>
                <ses:header>
                   <ses:name>referer</ses:name>
-                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do</ses:value>
+                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow1.sfAction1.do</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7) Gecko/20040707 Firefox/0.9.2</ses:value>
+                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
                </ses:header>
             </ses:headers>
          </ses:request>
          <ses:response>
             <ses:statusCode>200</ses:statusCode>
             <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
 <html lang="en">
 
-<head>
-        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp";>
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/index.jsp";>
     </head>
     <body>
         <h3>JSP Sees Shared Flow</h3>
 
-        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do">sfAction 
(anchor)</a>
+        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow1.sfAction1.do">defaultSharedFlow1.sfAction1
 (anchor)</a>
 
-        <form id="Netui_Form_0" 
action="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do" method="post">
-            <input type="submit" value="sfAction (form)">
+        <form 
action="/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow2.sfAction2.do" 
method="post">
+            <input type="submit" value="defaultSharedFlow2.sfAction2 (form)">
         </form>
     </body>
 
@@ -253,13 +252,13 @@
             <ses:protocolVersion>1.1</ses:protocolVersion>
             <ses:host>localhost</ses:host>
             <ses:port>8080</ses:port>
-            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do</ses:uri>
+            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/defaultSharedFlow2.sfAction2.do</ses:uri>
             <ses:method>POST</ses:method>
             <ses:parameters/>
             <ses:cookies>
                <ses:cookie>
                   <ses:name>JSESSIONID</ses:name>
-                  <ses:value>30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  <ses:value>7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:cookie>
             </ses:cookies>
             <ses:headers>
@@ -293,7 +292,7 @@
                </ses:header>
                <ses:header>
                   <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
+                  
<ses:value>JSESSIONID=7EB867064BA5A35654CCB1295273C07D</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>host</ses:name>
@@ -305,119 +304,36 @@
                </ses:header>
                <ses:header>
                   <ses:name>referer</ses:name>
-                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/goPrev.do</ses:value>
+                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/index.jsp</ses:value>
                </ses:header>
                <ses:header>
                   <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7) Gecko/20040707 Firefox/0.9.2</ses:value>
+                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7.6) Gecko/20050317 Firefox/1.0.2</ses:value>
                </ses:header>
             </ses:headers>
          </ses:request>
          <ses:response>
             <ses:statusCode>200</ses:statusCode>
             <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
+            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
 <html lang="en">
 
-<head>
-        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/success.jsp";>
+    <head>
+        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/success.jsp";>
     </head>
     <body>
         <h3>JSP Sees Shared Flow</h3>
 
         <b>Success</b>
         <br/>
-        <br/>
-        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/subdir/goPrev.do">back</a>
-    </body>
-
-</html>]]></ses:responseBody>
-         </ses:response>
-      </ses:test>
-      <ses:test>
-         <ses:testNumber>5</ses:testNumber>
-         <ses:request>
-            <ses:protocol>HTTP</ses:protocol>
-            <ses:protocolVersion>1.1</ses:protocolVersion>
-            <ses:host>localhost</ses:host>
-            <ses:port>8080</ses:port>
-            
<ses:uri>/coreWeb/miniTests/jspSeesSharedFlow/subdir/goPrev.do</ses:uri>
-            <ses:method>GET</ses:method>
-            <ses:parameters/>
-            <ses:cookies>
-               <ses:cookie>
-                  <ses:name>JSESSIONID</ses:name>
-                  <ses:value>30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
-               </ses:cookie>
-            </ses:cookies>
-            <ses:headers>
-               <ses:header>
-                  <ses:name>accept</ses:name>
-                  
<ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>accept-charset</ses:name>
-                  <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>accept-encoding</ses:name>
-                  <ses:value>gzip,deflate</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>accept-language</ses:name>
-                  <ses:value>en-us,en;q=0.5</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>connection</ses:name>
-                  <ses:value>keep-alive</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>cookie</ses:name>
-                  
<ses:value>JSESSIONID=30BD0E3B54BFCF9C60A371AEB6A347D0</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>host</ses:name>
-                  <ses:value>localhost:8080</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>keep-alive</ses:name>
-                  <ses:value>300</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>referer</ses:name>
-                  
<ses:value>http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do</ses:value>
-               </ses:header>
-               <ses:header>
-                  <ses:name>user-agent</ses:name>
-                  <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.7) Gecko/20040707 Firefox/0.9.2</ses:value>
-               </ses:header>
-            </ses:headers>
-         </ses:request>
-         <ses:response>
-            <ses:statusCode>200</ses:statusCode>
-            <ses:reason/>
-            <ses:responseBody><![CDATA[<!DOCTYPE HTML PUBLIC "//W3C//DTD HTML 
4.01 Transitional//EN"
-       "http://www.w3.org/TR/html4/loose.dtd";>
-<html lang="en">
-
-<head>
-        <base 
href="http://localhost:8080/coreWeb/miniTests/jspSeesSharedFlow/subdir/index.jsp";>
-    </head>
-    <body>
-        <h3>JSP Sees Shared Flow</h3>
-
-        <a 
href="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do">sfAction 
(anchor)</a>
-
-        <form id="Netui_Form_0" 
action="/coreWeb/miniTests/jspSeesSharedFlow/subdir/sfAction.do" method="post">
-            <input type="submit" value="sfAction (form)">
-        </form>
+        <a href="/coreWeb/miniTests/jspSeesSharedFlow/index.jsp">back</a>
     </body>
 
 </html>]]></ses:responseBody>
          </ses:response>
       </ses:test>
    </ses:tests>
-   <ses:endDate>17 Aug 2004, 10:25:13.889 AM MDT</ses:endDate>
-   <ses:testCount>5</ses:testCount>
+   <ses:endDate>15 Apr 2005, 01:00:48.733 PM MDT</ses:endDate>
+   <ses:testCount>4</ses:testCount>
 </ses:recorderSession>


Reply via email to