Error: COntent is not available. (when using tags)

I'm pretty new at portlet creation, but ive managed to develop and deploy simple portlets that only require the view or the help pages. I am trying now to creat a portlet where i could change one of the preferences from my edit.jsp. My problem is that whenever i include a tag like : <portlet:defineObjects/> .I get Error: Content is not available.

My log file produces the following:

2007/05/24 12:57:42.711 EEST | null | SEVERE | service-j2ee-2 | PortletAppEngineServlet.HandleError()() - Error: null | com.sun.portal.portlet.impl.RenderRequestImpl

X java.lang.ClassCastException: com.sun.portal.portlet.impl.RenderRequestImpl

X at com.sun.portal.portlet.taglib.DefineObjectsTag.doStartTag(DefineObjectsTag.java :39)

X at _jsps._WEB_0002dINF._jsp._HelloWorld_edit_jsp._jspService(_HelloWorld_edit_jsp. java:91)

X at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

X at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:68 7)

X at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)

X at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)

X at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

X at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav a:772)

X at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. java:628)

X at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja va:539)

X at com.sun.portal.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl .java:95)

X at com.test.HelloWorld.doEdit(HelloWorld.java:65)

...

my code is as follows:

<%@page contentType="text/html"%>

<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>

<%@ page session="false" %>

<%@ page import="javax.portlet.*" %>

<%@ page import="java.util.*" %>

<portlet:defineObjects/>

<b>HelloWorld - EDIT MODE</b>

<form method="POST" action='<portlet:actionURL />'>

<table>

<tr>

<td>city</td><td><input name="city"value="city"/>/></td>

</tr>

<tr>

<td></td>

<td><input type="submit" value="Submit"/></td>

</tr>

</table>

</form>

if i dotn include any tags, the form is displayed but that doesn't help as i need the tags for editing the parameter.

specs:

solaris 9

webserver 6.1

sun portal 6.3

ANY HELP woudl be GREATLY appreciated !

null

[3188 byte] By [mcadadaa] at [2007-11-27 5:22:13]
# 1
PLZZ helpp ! i hav ebeen stuck on this for over a week with no progress what so ever. Any help at all any ideas?
mcadadaa at 2007-7-12 11:47:32 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2
I copied and pasted the above code to my jsp. It works fine for me . I get the content correctly. Tried on a ps 7.1hope the additional character "/>" is not intended <td>city</td><td><input name="city"value="city"/>/></td>
thekkadatha at 2007-7-12 11:47:32 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
I understood the content.But I'm pretty new at portent creation.Does anyone know how to disuse ee(tags).
dispatcher1a at 2007-7-12 11:47:32 > top of Java-index,Web & Directory Servers,Portal Servers...