最近在编写一个JavaEE的程序,碰到一个问题很难解决
这个是报错截图
下面时出问题的代码(代码是搬的)
<%@ page contentType="text/html;charset=gb2312" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>网上书店</title>
<link href="css/bookstore.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="head">
<div class="head_left">
<a href="#">
<img hspace="11" src="picture/logo_dear.gif" vspace="5">
</a>
<br> 书店提供专业服务
</div>
<div class="head_right">
<div class="head_right_nei">
<div class="head_top">
<div class="head_buy">
<strong>
<a href="/bookstore/showCart.jsp">
<img height="15" src="picture/buy01.jpg" width="16"> 购物车
</a>
</strong> |
<a href="#">用户FAQ</a>
</div>
</div>
<div class="head_middle">
<a class="title01" href="index.jsp">
<span> 首页 </span>
</a>
<s:if test = "session.user == null">
<a class="title01" href="login.jsp">
<span> 登陆 </span>
</a>
</s:if>
<s:else>
<a class="title01" href="logout.action">
<span> 注销 </span>
</a>
</s:else>
<a class="title01" href="register.jsp">
<span> 注册 </span>
</a>
<a class="title01" href="#">
<span> 联系我们 </span>
</a>
<a class="title01" href="#">
<span> 网站地图 </span>
</a>
</div>
<div class="head_bottom">
<form action="searchBook.action" method="post">
<input type="text" name="bookname" size="50" align="middle"/>
<input type="image" name="submit" src="picture/search02.jpg" align="top" style="width: 48px; height: 22px"/>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
大神们帮帮忙!第一次发博