新建一个jsp页面
只输了一行代码
<% Cookie cookie=new Cookie("name","zhoumin123");%>
在Cookie下面老是显示如下错误
Cookie cannot be resolved to a type
为什么?(但是运行正常)另外,jbuilder2007安装后还需要进行什么配置吗?(我什么配置也没做)-----------------------------------------------------------源代码
<%@ page language="java" contentType="text/html; charset=gb2312"
    pageEncoding="gb2312"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Insert title here</title>
</head>
<body><% Cookie cookie=new Cookie("name","zhoumin123");%></body>
</html>