这里面包含了一百多个JAVA源文件

源代码在线查看: e1059. implementing conditional content on a jsp page.txt

软件大小: 551 K
上传用户: maple_78
关键词: JAVA
下载地址: 免注册下载 普通下载 VIP

相关代码

				Any non-JSP code in a JSP file is called template text and is automatically written to the output stream. By wrapping template text fragments in scriptlets, it is possible to dynamically choose which fragment to generate. 
				These examples generate different template text depending on the value of request parameters: 
				
				    
				        Generate this template text if param1 equals someValue
				    
				        Otherwise generate this template text
				    
				    
				    
				    				        case 0: %>
				           Generate this template text if param2 equals 0
				    				        case 1: %>
				           Generate this template text if param2 equals 1
				    				        default: %>
				           Generate this template text if param2 equals anything else
				    
				
				See also e1069 Conditionally Generating Output Using JSTL in a JSP Page. 			

相关资源