i'm new to the list and to Jetspeed. I read many documents about adding an own portlet to Jetspeed. I tried adding a JSP Portlet, but let's first talk about my setup.
I use Jetspeed 1.4b4 on a Mac, with java 1.4.1 and tomcat 5.x
I downloaded the binary form of jetspeed (WAR) and put in the the tomcat webapps folder. Then i startet tomcat. To make a long story short, jetspeed is alive and kicking at localhost:8080/jetspeed. So far so good.
The i wanted to add a JSP Portlet (which does nothing than a Hello World), and put a file "HelloWorld.xreg" in .../jetspeed/WEB-INF/conf:
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="HelloWorld" hidden="false" type="ref" parent="JSP" application="false">
<meta-info>
<title>HelloWorld</title>
<description>Mein erstes Jetspeed JSP-Portlet</description>
</meta-info>
<parameter name="template" value="HelloWorld.jsp" hidden="true"/>
<media-type ref="html"/>
<category>demo</category>
<category>jsp.demo</category>
</portlet-entry>
</registry>
Additionally i put the file "HelloWolrd.jsp" in the folder .../jetspeed/WEB-INF/templates/jsp/portlets/html:
<%@ page language="java"
session="false"
%>
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %>
<p>
Hello World!
</p>
Finally i logged into Jetspeed (using my own login) and added the HelloWorld JSP-Portlet as described in the Jetspeed-Tutorial (Add Portlet, then Save and Apply). The Frame of my Portlet is shown, but i get no Hello World, but an error message saying:
JSPViewProcessor: Could not include the following JSP Page: [HelloWorld.jsp] : null
I have no idea where look for my error. If anyone can help me out i would be very grateful.
Many thanks in advance,
Bela
PS: if this question was answered before, please don't flame me and give me a hint... ;-)
--
"Der Blitzableiter auf einem Kirchturm ist das denkbar st�rkste Misstrauensvotum gegen den lieben Gott."
-- Karl Kraus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
