column.jsp
上传用户:junmaots
上传日期:2022-07-09
资源大小:2450k
文件大小:1k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@page contentType="text/html; charset=GBK" language="java" %>
  2. <%@page import="com.mycompany.news.service.ChannelService" %>
  3. <%@page import="com.mycompany.news.dto.Channel" %>
  4. <%
  5. String channelid = request.getParameter("channelid");
  6. ChannelService cs = new ChannelService();
  7. Channel c = cs.getByID(Integer.parseInt(channelid));
  8. System.out.println("c ="+c);
  9. %>
  10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  11. <html>
  12. <head>
  13. <title>《<%=c.getChannelName()%>》栏目管理</title>
  14. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  15. </head>
  16.   <frameset rows="*" cols="240,*" rameborder="yes" border="1" framespacing="1" name="mainframeset">
  17.       <frame src="columns_left.jsp?channelid=<%=channelid%>" name="leftFrame" scrolling="auto" BORDERCOLOR="#dddddd" noresize >
  18. <frame src="columns_main.jsp?channelid=<%=channelid%>" name="mainFrame" scrolling="yes" >
  19.   </frameset>
  20. <noframes><body>
  21. </body></noframes>
  22. </html>