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

📄 informationdetailtemp.jsp

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ 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"%>
<%@ page import="com.longtime.wap.module.front.web.form.InformationDetailForm"%>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<script type="text/javascript">
	function payHOrRInformation(action){
		var boolConfirm = confirm("你确认要购买此信息吗?")
		if(boolConfirm){
			formSubmit('informationDetailForm', action);
		}else
			return false;
	}
</script>
<FORM METHOD=POST ACTION="informationDetail.do?method=buyInformation" id="informationDetailForm" onsubmit="return false;">
	<html:hidden name="informationDetailForm" property="title"/>
	<html:hidden name="informationDetailForm" property="cpName"/>
	<html:hidden name="informationDetailForm" property="businessName"/>
	<html:hidden name="informationDetailForm" property="categoryName"/>
	<html:hidden name="informationDetailForm" property="price"/>
	<html:hidden name="informationDetailForm" property="detailFlug"/>
	<html:hidden name="informationDetailForm" property="category"/>	
	<%
		if (null != request.getAttribute(FrontConstant.BUY_INFO_ERROR)){
			String errorMsg = String.valueOf(request.getAttribute(FrontConstant.BUY_INFO_ERROR));
	%>
			<div align="center"><FONT color="red"><li><%=errorMsg%></FONT></div>
	<%
		}
	%>
	<table width="70%" border="1" align="center" class="TableFrontRightShow">
		<%InformationDetailForm form = (InformationDetailForm) request
					.getAttribute(FrontConstant.INFORMATION_DETAIL_FORM);%>
		<th align="right" width="50%">
			标题:&nbsp;&nbsp;
		</th>
		<th align="left" width="50%">
			&nbsp;&nbsp;
			<%=form.getTitle()%>
		</th>
		<tr>
			<td align="right">
				发布单位:&nbsp;&nbsp;
			</td>
			<td align="left">
				&nbsp;&nbsp;
				<%=form.getCpName()%>
			</td>
		</tr>
		<tr>
			<td align="right">
				业务:&nbsp;&nbsp;
			</td>
			<td align="left">
				&nbsp;&nbsp;
				<%=form.getBusinessName()%>
			</td>
		</tr>
		<tr>
			<td align="right">
				分类:&nbsp;&nbsp;
			</td>
			<td align="left">
				&nbsp;&nbsp;
				<%=form.getCategoryName()%>
			</td>
		</tr>
		<tr>
			<td align="right">
				费用(单位:元):&nbsp;&nbsp;
			</td>
			<td align="left">
				&nbsp;&nbsp;
				<%=form.getPrice()%>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				&nbsp;
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="button" value=" 购买" onClick="payHOrRInformation('informationDetail.do?method=buyInformation&id=<%=form.getInformationId()%>')">
				&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" value=" 返回 " onClick="history.back()">
			</td>
		</tr>
	</table>
</FORM>

⌨️ 快捷键说明

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