1 18 package org.apache.beehive.netui.pageflow; 19 20 import javax.servlet.http.HttpServletResponse ; 21 import javax.servlet.http.HttpServletRequest ; 22 import javax.servlet.ServletContext ; 23 24 29 public class StrutsModule 30 implements ActionResolver 31 { 32 private String _modulePath; 33 34 39 public StrutsModule( String modulePath ) 40 { 41 assert modulePath.length() == 0 || modulePath.startsWith( "/" ) : modulePath; 43 _modulePath = modulePath; 44 } 45 46 51 public String getURI() 52 { 53 return _modulePath; 54 } 55 56 public String getModulePath() 57 { 58 return _modulePath; 59 } 60 61 66 public boolean isPageFlow() 67 { 68 return false; 69 } 70 71 public void refresh( HttpServletRequest request, HttpServletResponse response ) 72 { 73 } 74 } 75 | Popular Tags |