You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Mansour <ma...@yahoo.com> on 2007/08/12 15:56:55 UTC

New tutorial

I am following the new tutorial on


http://people.apache.org/~taylor/tutorial/docs/site/index.html

I imported the projects to two separate projects in eclipse workspace as 
the tutorial stated. And I was able to build successfully. However, I am 
getting an error in the jsps about not being able to find javax.portlets.*

Is there any thing else I need to download. I tried to play a bit with 
the class path, remove and add the jars, but didn't help. any Ideas?



Cannot find the tag library descriptor for http://java.sun.com/portlet 
|  express-demo/WebContent/WEB-INF/templates | edit.jsp |   line 3   | 
1186890641414    2103


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: New tutorial

Posted by Mansour <ma...@yahoo.com>.
I tried this, but now I am getting this list of errors:

Severity and Description    Path    Resource    Location    Creation 
Time    Id

Cannot find the tag library descriptor for 
http://java.sun.com/portlet    
express-demo/WebContent/WEB-INF/templates    edit.jsp    line 3    
1187135953300    2427

Cannot find the tag library descriptor for 
http://java.sun.com/portlet    
express-demo/WebContent/WEB-INF/templates    view.jsp    line 3    
1187135953298    2422

getQuote cannot be resolved    express-demo/WebContent/WEB-INF/view    
stockquote.jsp    line 14    1187135953297    2416

No start tag (<p>).    express-demo/WebContent/WEB-INF/content    
contact-us.html    line 38    1187135951079    2412

portletConfig cannot be resolved    
express-demo/WebContent/WEB-INF/templates    edit.jsp    line 9    
1187135953298    2423

portletConfig cannot be resolved    
express-demo/WebContent/WEB-INF/templates    view.jsp    line 7    
1187135953298    2419

removeUrl cannot be resolved    
express-demo/WebContent/WEB-INF/templates    edit.jsp    line 43    
1187135953300    2426

renderRequest cannot be resolved    
express-demo/WebContent/WEB-INF/templates    view.jsp    line 11    
1187135953298    2420





Sugarman, Duke wrote:
> Along the same vein as Michael's suggestion:
>
> "The Express Demo Eclipse project requires several references to Java
> libraries such as the Java Portlet API and Jetspeed API to compile.
> Download this zip, unzip the jars into a directory, and then setup a new
> Eclipse Classpath variable named JETSPEED_LIBRARY to point at this
> directory (Window->Preferences->Java->Build Path->Classpath
> Variables->New...)"
>
> The full details are in a link off of the main page that is easy to
> miss: 
> http://people.apache.org/~taylor/tutorial/docs/site/references/tutorial_
> distribution.html
>
> regards,
> Duke
>
> -----Original Message-----
> From: Mansour [mailto:mansour77@yahoo.com] 
> Sent: Tuesday, August 14, 2007 7:14 PM
> To: Timony, Michael
> Cc: Jetspeed Users List
> Subject: Re: New tutorial
>
> No. Not yet. I will. Any way, IMHO the doc should include this.
>
>
> Timony, Michael wrote:
>   
>> Have you added portlet-api-1.0.jar to the "Java Build Path" of the
>> project in Eclipse as an "External JAR"? 
>>
>>
>> -----Original Message-----
>> From: Mansour [mailto:mansour77@yahoo.com] 
>> Sent: Sunday, August 12, 2007 9:57 AM
>> To: Jetspeed Users List
>> Subject: New tutorial
>>
>> I am following the new tutorial on
>>
>>
>> http://people.apache.org/~taylor/tutorial/docs/site/index.html
>>
>> I imported the projects to two separate projects in eclipse workspace
>>     
> as
>   
>> the tutorial stated. And I was able to build successfully. However, I
>>     
> am
>   
>> getting an error in the jsps about not being able to find
>> javax.portlets.*
>>
>> Is there any thing else I need to download. I tried to play a bit with
>> the class path, remove and add the jars, but didn't help. any Ideas?
>>
>>
>>
>> Cannot find the tag library descriptor for http://java.sun.com/portlet
>>     
>
>   
>> |  express-demo/WebContent/WEB-INF/templates | edit.jsp |   line 3   |
>>     
>
>   
>> 1186890641414    2103
>>
>>
>>   
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: New tutorial

Posted by "Sugarman, Duke" <Du...@fmr.com>.
Along the same vein as Michael's suggestion:

"The Express Demo Eclipse project requires several references to Java
libraries such as the Java Portlet API and Jetspeed API to compile.
Download this zip, unzip the jars into a directory, and then setup a new
Eclipse Classpath variable named JETSPEED_LIBRARY to point at this
directory (Window->Preferences->Java->Build Path->Classpath
Variables->New...)"

The full details are in a link off of the main page that is easy to
miss: 
http://people.apache.org/~taylor/tutorial/docs/site/references/tutorial_
distribution.html

regards,
Duke

-----Original Message-----
From: Mansour [mailto:mansour77@yahoo.com] 
Sent: Tuesday, August 14, 2007 7:14 PM
To: Timony, Michael
Cc: Jetspeed Users List
Subject: Re: New tutorial

No. Not yet. I will. Any way, IMHO the doc should include this.


Timony, Michael wrote:
> Have you added portlet-api-1.0.jar to the "Java Build Path" of the
> project in Eclipse as an "External JAR"? 
>
>
> -----Original Message-----
> From: Mansour [mailto:mansour77@yahoo.com] 
> Sent: Sunday, August 12, 2007 9:57 AM
> To: Jetspeed Users List
> Subject: New tutorial
>
> I am following the new tutorial on
>
>
> http://people.apache.org/~taylor/tutorial/docs/site/index.html
>
> I imported the projects to two separate projects in eclipse workspace
as
> the tutorial stated. And I was able to build successfully. However, I
am
> getting an error in the jsps about not being able to find
> javax.portlets.*
>
> Is there any thing else I need to download. I tried to play a bit with
> the class path, remove and add the jars, but didn't help. any Ideas?
>
>
>
> Cannot find the tag library descriptor for http://java.sun.com/portlet

> |  express-demo/WebContent/WEB-INF/templates | edit.jsp |   line 3   |

> 1186890641414    2103
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: New tutorial

Posted by Mansour <ma...@yahoo.com>.
No. Not yet. I will. Any way, IMHO the doc should include this.


Timony, Michael wrote:
> Have you added portlet-api-1.0.jar to the "Java Build Path" of the
> project in Eclipse as an "External JAR"? 
>
>
> -----Original Message-----
> From: Mansour [mailto:mansour77@yahoo.com] 
> Sent: Sunday, August 12, 2007 9:57 AM
> To: Jetspeed Users List
> Subject: New tutorial
>
> I am following the new tutorial on
>
>
> http://people.apache.org/~taylor/tutorial/docs/site/index.html
>
> I imported the projects to two separate projects in eclipse workspace as
> the tutorial stated. And I was able to build successfully. However, I am
> getting an error in the jsps about not being able to find
> javax.portlets.*
>
> Is there any thing else I need to download. I tried to play a bit with
> the class path, remove and add the jars, but didn't help. any Ideas?
>
>
>
> Cannot find the tag library descriptor for http://java.sun.com/portlet 
> |  express-demo/WebContent/WEB-INF/templates | edit.jsp |   line 3   | 
> 1186890641414    2103
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: New tutorial

Posted by "Timony, Michael" <Mi...@FMR.COM>.
Have you added portlet-api-1.0.jar to the "Java Build Path" of the
project in Eclipse as an "External JAR"? 


-----Original Message-----
From: Mansour [mailto:mansour77@yahoo.com] 
Sent: Sunday, August 12, 2007 9:57 AM
To: Jetspeed Users List
Subject: New tutorial

I am following the new tutorial on


http://people.apache.org/~taylor/tutorial/docs/site/index.html

I imported the projects to two separate projects in eclipse workspace as
the tutorial stated. And I was able to build successfully. However, I am
getting an error in the jsps about not being able to find
javax.portlets.*

Is there any thing else I need to download. I tried to play a bit with
the class path, remove and add the jars, but didn't help. any Ideas?



Cannot find the tag library descriptor for http://java.sun.com/portlet 
|  express-demo/WebContent/WEB-INF/templates | edit.jsp |   line 3   | 
1186890641414    2103


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Redirect to Logout page

Posted by "Kumar, Ravi R" <ra...@hp.com>.
Hi,

Iam using jetspeed 2.1.2, when a user clicks a tab and his session is
timedout we need to redirect to a customized logout page showing message
like "User Loggedout due to inactivity".Currently jetspeed redirects to
/pages/default-page.psml which has login portlet. I went through code of
security valve implementation,but not of much use.How to check that the
user session is timedout(since the session is already invalidated) and
redirect to logout?

Regards
Ravi

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org