[jboss-user] [JBoss Portal] - Re: UserFriendly URLs: Can we have an '_' instead of '+' in

bvogt do-not-reply at jboss.com
Sun Aug 26 06:06:32 EDT 2007


Since your in a jsp, you cannot access the portlet session - in the meaning of the portlets individual session.

We do it the other way around: 
The object is written to the session with visibility PortletSession.APPLICATION_SCOPE, which means that not only other porlets can access that attribute, servlets and JSPs can do that too.

In a jsp you do that by using the implicitly available object: 'session'
like:

  | <TITLE><%= session.getAttribute("localzedPageTitle"); %></TITLE>
  | 

May be the following link is helpful:
http://java.sun.com/products/jsp/syntax/2.0/card20.pdf

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078108#4078108

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078108



More information about the jboss-user mailing list