strust 框架 的源程序以及java类源代码

源代码在线查看: html-link.jsp

软件大小: 8382 K
上传用户: luyibo54618
关键词: strust java 源程序 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				  
				    Test html:link Tag				          String newValue = "New string value";
				          pageContext.setAttribute("newValue", newValue);
				          java.util.HashMap newValues = new java.util.HashMap();
				          newValues.put("floatProperty", new Float(444.0));
				          newValues.put("intProperty", new Integer(555));
				          newValues.put("stringArray", new String[]
				           { "Value 1", "Value 2", "Value 3" });
				          pageContext.setAttribute("newValues", newValues);
				        %>
				  
				  
				    
				      Test struts-html Link Tag
				    
				    The following links should hyperlink back to this page, with various combinations of request parameters used to modify the previous values of the associated form bean. Press the "Cancel" button to return to the main menu.
				    
				      
				        
				          Current Values
				        
				        
				          booleanProperty
				          
				            
				          
				          intProperty
				          
				            
				          
				        
				        
				          doubleProperty
				          
				            
				          
				          longProperty
				          
				            
				          
				        
				        
				          floatProperty
				          
				            
				          
				          stringProperty
				          
				            
				          
				        
				        
				          stringArray
				          
				            
				            
				          
				        
				        
				          Hyperlinks To Be Tested via page attribute
				        
				        
				          
				            No modifications at all
				          
				        
				        
				          
				            Double and long via hard coded changes
				          
				        
				        
				          
				            String via paramId and paramName
				          
				        
				        
				          
				            Boolean via paramId, paramName, and paramValue
				          
				        
				        
				          
				            Float, int, and stringArray via name (Map)
				          
				        
				        
				
				 
				   
				     Hyperlinks To Be Tested via action and module attributes
				   
				 
				
				 
				   
				     
				       No modifications at all, but link to the default module.
				     
				   
				 
				
				 
				   
				     				     			 module="/exercise">
				       Double and long via hard coded changes (module)
				     
				   
				 
				
				 
				   
				     				             paramId="stringProperty" paramName="newValue">
				       String via paramId and paramName
				     
				   
				 
				
				 
				   
				     				             paramId="booleanProperty"
				             paramName="testbean" paramProperty="nested.booleanProperty"
				     			 module="/exercise">
				       Boolean via paramId, paramName, and paramValue (module)
				     
				   
				 
				
				 
				   
				     				                name="newValues">
				       Float, int, and stringArray via name (Map)
				     
				   
				 
				
				   
				     Reset and Cancel Buttons
				        
				        
				          
				            Reset
				            Cancel
				          
				        
				      
				    
				
				    The following list tests relative, context-relative, and absolute links. Press (back) to return.
				    Forwards
				    
				      
				        module welcome page
				      
				      
				        application welcome page (context relative attribute)
				      
				      
				        application welcome page (module attribute)
				      
				      
				        validator welcome page
				      
				      
				        Struts website
				      
				      
				        Redirect to the default page ("/")
				      
				    
				    Actions
				    
				      
				        application welcome page
				        
				      
				      
				        Exercise module welcome page
				      
				      
				        Upload welcome page
				      
				      
				        Validator welcome page
				      
				      
				
				    Pages
				    
				      
				        application welcome page
				        
				      
				      
				        Exercise module welcome page
				      
				      
				        Upload welcome page
				      
				      
				        Validator welcome page
				      
				      
				  
				
							

相关资源