struts2里面的<s:property>不显示值
jsp页面的我只黏贴了一部分,Temporary也只黏贴一部分,希望大手子帮帮忙,谢谢
我想要问的问题就是,其他的地方都显示数据,唯独职位属性,和空闲时间是不显示的,还有就是想请教一下,我想显示的图片应该怎么写,并且我的tomcat不报错
jsp页面
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
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>My JSP 'ShowSel.jsp' starting page</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">
-->
<style type="text/css">
#submit {
padding-left: 380px;
}
</style>
</head>
<body bgcolor="#3399FF">
<form action="">
<s:if test="temporary!=null&&temporary.T_Name!=''&&temporary.T_Telephone!=''">
<table border="2" bordercolor=" " width="1000px" cellpadding="3">
<tr height="50px;">
<td align="right" width="100px;" align="right">
姓名:
</td>
<td width="250px;">
<s:property value="temporary.T_Name"/>
</td>
<td align="right" width="170px;">
主要工作岗位:
</td>
<td width="260px;">
<s:property value="temporary.T_Major_Jobs"/>
</td>
<td colspan="2" rowspan="6" width="30px;">
<img src="<s:property value="temporary.T_Photo"/>" />
</td>
</tr>
<tr height="50px;">
<td align="right">
性别:
</td>
<td>
<s:property value="temporary.T_Sex"/>
</td>
<td align="right">
职位属性:
</td>
<td>
<s:property value="temporary.T_P_Property"/>
</td>
</tr>
<tr height="50px;">
<td align="right">
个人状态;
</td>
<td>
<s:property value="temporary.T_Status"/>
</td>
<td align="right">
每周空闲时间:
</td>
<td>
<s:property value="temporary.T_F_Time"/>
</td>
<td>
</td>
</tr>
</table>
</s:if>
<br>
<div id="submit">
<input type="button" id="up_T" value="修改"
style="width: 100px; height: 30px;">
<input type="button" id="up_T" value="删除"
style="width: 100px; he