Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] error compiling a dynamic web application on Eclipse.

Hello everyone.
I'm learning how to work with eclipse, I downloaded eclipse-jee-helios-win32.zip. According to the help I should be able to install swt-3.6-win32-win32-x86.zip but I received one error, I do not remember exactly at this moment what it was.
I finished installing swt-3.5.2-win32-win32-x86.zip

Following the help I decided to create a Dynamic Web Project application, and bellow you have the page I created.

I cannot solve the problem that creates the section in bold



<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
  test page  <%= new Date().toString() %>
</body>
</html>


The error is
'Date cannot be resolved to a type'

Thanks in advance for any help.

Greetings
Enediel

Back to the top