⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 songlist.jsp

📁 ktv点歌系统前台收银有开包房
💻 JSP
字号:
<%@ page language="java" import="java.util.*,java.lang.*" pageEncoding="gbk"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>歌曲列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
<html:form action="/addPlayList.do?methods=addPlayList">
<table border=1 cellspacing=0 cellpadding=0  width=600
			id=mainTable class=main_tab align=center>
			
				<logic:iterate id="song" name="songList" type="com.ktv.entity.Song" scope="request" indexId="index">
   	
						<tr>
					<td align=right width=154>				
			     <bean:write name="song" property="songId" />、
				<input type="checkbox" name="songName" 
							value="<bean:write name='song' property='songName'  />	 ">
					
					 	   		        </td>		   		
	   		
	   		      <td align="left" width=607>
	   		      <bean:write name="song" property="songName" />	   		      </td>
                      </tr>
	   		</logic:iterate>
   		
  <tr ><td colspan="2">
	<%	String type = "song.do?methods=getSingerSongList&singerId=" +Integer.parseInt((String)request.getAttribute("singerId"));	%>
   	<jsp:include page="/jobs/page.jsp" >
   	
	  <jsp:param name="formName" value="songForm"/>
	  <jsp:param name="actionName" value="<%=type%>"/>	</jsp:include>
					</td>
  </tr>
  <tr><td><input type="submit" value="添加选择歌曲到播放列表	" />
			</td>
			<td>&nbsp;<input type="reset" value="取消选择"/></td>
			</tr>
			</table>
		</html:form>	
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -