Satish,

Patel, Satish wrote:

> Hello guys,
> 
> Good news, I got my HelloWorldPortlet to appear in my jetspeed Portal.  I
> want to thank all of you for that.  I really appreicate it.  It works great.
> But I have couple of questions.
> 
> (1) Does it matter what file name I give for my .xreg file inorder to
> register my portlet???


As long as the extension is .xreg, not really.  As a general rule we I 
use local-portlet.xreg for custom portlets.

> (2) How do we write .jsp portlets???  because I see a JSP Hello World
> portlet which comes with Jetspeed.  Looks to me there is a class file for
> that, so is that really a JSP?? or Java??


1) Place you jsp in the appropriate directory, i.e. 
<jetspeed_home>/WEB-INF/templates/jsp/portlets/<media_type>[/language]

2) Add the registry entry to local-portlet.xreg.  See the registry entry 
for HelloJSP in demo-portlets.xreg as an example. No class name is needed.

JSP1_2andJetspeedTagLib.jsp is an example of a JSP the interact with Jetspeed and uses 
information from the servlet engine.

Documentation can be found at 
http://jakarta.apache.org/jetspeed/site/portlet_config_JSP.html



> 
> thanks in advance,
> 
> Satish.
> 

Paul Spencer


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to