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

📄 forward.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@ page import="com.cyberway.cms.channel.proxy.ChannelProxy"%>
<%@ page import="com.cyberway.cms.channel.ejb.ChannelVO"%>
<%@ page import="com.cyberway.cms.site.ejb.SiteVO"%>
<%@ page import="com.cyberway.cms.site.proxy.SiteProxy"%>
<%
	String contextPath = request.getContextPath();
	long channelid = Long.parseLong(request.getParameter("channelid"));
	
	ChannelProxy channelProxy = new ChannelProxy();
	ChannelVO channelVO = channelProxy.doView(channelid);
	
	long siteid = channelVO.getSiteid();
	SiteProxy siteProxy = new SiteProxy();
	SiteVO siteVO = siteProxy.doView(siteid);
	
	String siteHttp = siteVO.getSitehttp();
	String sitePort = String.valueOf(siteVO.getSiteport());
	String channelPath = channelVO.getPathname();
	String formname = channelVO.get_summarytemplate();
	
	String url="http://"+siteHttp+":"+sitePort+"/$preview$/"+channelPath+"/"+formname+".html2?channelid="+channelid;
//  String url = "http://oa.cyberway.net.cn:8080/$preview$/companynews/newsview.html2?channelid="+channelid;
  System.out.println("url->"+url);
	response.sendRedirect(url);
%>

⌨️ 快捷键说明

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