I was testing a jsp file in Eclipse, the code is as follows:

<%@ page session="false" contentType="text/html" 
import="java.util.*,javax.portlet.*,com.ociweb.portletapi.*" %>
<[EMAIL PROTECTED] uri="http://java.sun.com/portlet"; prefix="portlet" %>
<portlet:defineObjects/>
<%
Quote quote = (Quote)renderRequest.getAttribute("quote");
%>
<div class="portlet-section-header">Quote</div>
<div class="portlet-section-body">
<%= quote.getQuote() %><br />
by <%= quote.getAuthor() %>
</div>

However the Eclipse complains about "renderRequest cannot be resolved". All the 
needed libs are in the place. Does anybody know why Eclipse complain?
Thanks,
Bill

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to