Java Cart .

Java Cart MainScreenWrangler java

package cart.screenWranglers;

import java.util.HashMap;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.ServletContext;

//baseScreenWrangler
//author - Lawrence Truett - FluffyCat.com
//date - June 5, 2003 - San Diego, CA
public class MainScreenWrangler extends BaseScreenWrangler { 
    
    public MainScreenWrangler() {this("/cart/jsps/Main.jsp");}
    
    public MainScreenWrangler(String nextScreenIn) {
        super(nextScreenIn);
    }
    
    public void wrangleScreen(HttpServletRequest request, 
                              ServletContext servletContext) {
        char action = baseNextScreenSwitch(request, servletContext); 
        
        if (action != 'M') {
            getNextWrangler().prepFirstScreen(request, servletContext);
        }
    }
    
    void prepFirstScreen(HttpServletRequest request, 
                         ServletContext servletContext) {
    }
    
}
To download source right-click here and "Save As...".
Comments
Sign in to be the first to comment on Java Cart MainScreenWrangler java.